AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
40 inline const Aws::Vector<LaunchActionRun>& GetRuns() const { return m_runs; }
41 inline bool RunsHasBeenSet() const { return m_runsHasBeenSet; }
42 template <typename RunsT = Aws::Vector<LaunchActionRun>>
43 void SetRuns(RunsT&& value) {
44 m_runsHasBeenSet = true;
45 m_runs = std::forward<RunsT>(value);
46 }
47 template <typename RunsT = Aws::Vector<LaunchActionRun>>
48 LaunchActionsStatus& WithRuns(RunsT&& value) {
49 SetRuns(std::forward<RunsT>(value));
50 return *this;
51 }
52 template <typename RunsT = LaunchActionRun>
53 LaunchActionsStatus& AddRuns(RunsT&& value) {
54 m_runsHasBeenSet = true;
55 m_runs.emplace_back(std::forward<RunsT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetSsmAgentDiscoveryDatetime() const { return m_ssmAgentDiscoveryDatetime; }
66 inline bool SsmAgentDiscoveryDatetimeHasBeenSet() const { return m_ssmAgentDiscoveryDatetimeHasBeenSet; }
67 template <typename SsmAgentDiscoveryDatetimeT = Aws::String>
68 void SetSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) {
69 m_ssmAgentDiscoveryDatetimeHasBeenSet = true;
70 m_ssmAgentDiscoveryDatetime = std::forward<SsmAgentDiscoveryDatetimeT>(value);
71 }
72 template <typename SsmAgentDiscoveryDatetimeT = Aws::String>
73 LaunchActionsStatus& WithSsmAgentDiscoveryDatetime(SsmAgentDiscoveryDatetimeT&& value) {
74 SetSsmAgentDiscoveryDatetime(std::forward<SsmAgentDiscoveryDatetimeT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_ssmAgentDiscoveryDatetime;
82 bool m_runsHasBeenSet = false;
83 bool m_ssmAgentDiscoveryDatetimeHasBeenSet = 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