AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
LaunchActionsStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/LaunchActionRun.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace drs {
22namespace Model {
23
30 public:
31 AWS_DRS_API LaunchActionsStatus() = default;
35
37
41 inline const Aws::String& GetSsmAgentDiscoveryDatetime() const { return m_ssmAgentDiscoveryDatetime; }
42 inline bool SsmAgentDiscoveryDatetimeHasBeenSet() const { return m_ssmAgentDiscoveryDatetimeHasBeenSet; }
43 template <typename SsmAgentDiscoveryDatetimeT = Aws::String>
44 void SetSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) {
45 m_ssmAgentDiscoveryDatetimeHasBeenSet = true;
46 m_ssmAgentDiscoveryDatetime = std::forward<SsmAgentDiscoveryDatetimeT>(value);
47 }
48 template <typename SsmAgentDiscoveryDatetimeT = Aws::String>
49 LaunchActionsStatus& WithSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) {
50 SetSsmAgentDiscoveryDatetime(std::forward<SsmAgentDiscoveryDatetimeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<LaunchActionRun>& GetRuns() const { return m_runs; }
60 inline bool RunsHasBeenSet() const { return m_runsHasBeenSet; }
61 template <typename RunsT = Aws::Vector<LaunchActionRun>>
62 void SetRuns(RunsT&& value) {
63 m_runsHasBeenSet = true;
64 m_runs = std::forward<RunsT>(value);
65 }
66 template <typename RunsT = Aws::Vector<LaunchActionRun>>
67 LaunchActionsStatus& WithRuns(RunsT&& value) {
68 SetRuns(std::forward<RunsT>(value));
69 return *this;
70 }
71 template <typename RunsT = LaunchActionRun>
72 LaunchActionsStatus& AddRuns(RunsT&& value) {
73 m_runsHasBeenSet = true;
74 m_runs.emplace_back(std::forward<RunsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_ssmAgentDiscoveryDatetime;
80
82 bool m_ssmAgentDiscoveryDatetimeHasBeenSet = false;
83 bool m_runsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace drs
88} // namespace Aws
LaunchActionsStatus & WithRuns(RunsT &&value)
const Aws::String & GetSsmAgentDiscoveryDatetime() const
void SetSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchActionsStatus & AddRuns(RunsT &&value)
AWS_DRS_API LaunchActionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API LaunchActionsStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LaunchActionRun > & GetRuns() const
AWS_DRS_API LaunchActionsStatus()=default
LaunchActionsStatus & WithSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue