7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/AlarmConfiguration.h>
12#include <aws/ssm/model/AlarmStateInformation.h>
45 template <
typename AssociationIdT = Aws::String>
47 m_associationIdHasBeenSet =
true;
48 m_associationId = std::forward<AssociationIdT>(value);
50 template <
typename AssociationIdT = Aws::String>
63 template <
typename AssociationVersionT = Aws::String>
65 m_associationVersionHasBeenSet =
true;
66 m_associationVersion = std::forward<AssociationVersionT>(value);
68 template <
typename AssociationVersionT = Aws::String>
81 template <
typename ExecutionIdT = Aws::String>
83 m_executionIdHasBeenSet =
true;
84 m_executionId = std::forward<ExecutionIdT>(value);
86 template <
typename ExecutionIdT = Aws::String>
99 template <
typename StatusT = Aws::String>
101 m_statusHasBeenSet =
true;
102 m_status = std::forward<StatusT>(value);
104 template <
typename StatusT = Aws::String>
117 template <
typename DetailedStatusT = Aws::String>
119 m_detailedStatusHasBeenSet =
true;
120 m_detailedStatus = std::forward<DetailedStatusT>(value);
122 template <
typename DetailedStatusT = Aws::String>
135 template <
typename CreatedTimeT = Aws::Utils::DateTime>
137 m_createdTimeHasBeenSet =
true;
138 m_createdTime = std::forward<CreatedTimeT>(value);
140 template <
typename CreatedTimeT = Aws::Utils::DateTime>
153 template <
typename LastExecutionDateT = Aws::Utils::DateTime>
155 m_lastExecutionDateHasBeenSet =
true;
156 m_lastExecutionDate = std::forward<LastExecutionDateT>(value);
158 template <
typename LastExecutionDateT = Aws::Utils::DateTime>
172 template <
typename ResourceCountByStatusT = Aws::String>
174 m_resourceCountByStatusHasBeenSet =
true;
175 m_resourceCountByStatus = std::forward<ResourceCountByStatusT>(value);
177 template <
typename ResourceCountByStatusT = Aws::String>
188 template <
typename AlarmConfigurationT = AlarmConfiguration>
190 m_alarmConfigurationHasBeenSet =
true;
191 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
193 template <
typename AlarmConfigurationT = AlarmConfiguration>
206 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
208 m_triggeredAlarmsHasBeenSet =
true;
209 m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value);
211 template <
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
216 template <
typename TriggeredAlarmsT = AlarmStateInformation>
218 m_triggeredAlarmsHasBeenSet =
true;
219 m_triggeredAlarms.emplace_back(std::forward<TriggeredAlarmsT>(value));
240 AlarmConfiguration m_alarmConfiguration;
243 bool m_associationIdHasBeenSet =
false;
244 bool m_associationVersionHasBeenSet =
false;
245 bool m_executionIdHasBeenSet =
false;
246 bool m_statusHasBeenSet =
false;
247 bool m_detailedStatusHasBeenSet =
false;
248 bool m_createdTimeHasBeenSet =
false;
249 bool m_lastExecutionDateHasBeenSet =
false;
250 bool m_resourceCountByStatusHasBeenSet =
false;
251 bool m_alarmConfigurationHasBeenSet =
false;
252 bool m_triggeredAlarmsHasBeenSet =
false;
void SetAssociationId(AssociationIdT &&value)
AssociationExecution & WithAssociationId(AssociationIdT &&value)
void SetAssociationVersion(AssociationVersionT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
AssociationExecution & WithAssociationVersion(AssociationVersionT &&value)
AssociationExecution & WithDetailedStatus(DetailedStatusT &&value)
bool StatusHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetLastExecutionDate(LastExecutionDateT &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
AssociationExecution & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetResourceCountByStatus() const
bool TriggeredAlarmsHasBeenSet() const
void SetTriggeredAlarms(TriggeredAlarmsT &&value)
const Aws::Utils::DateTime & GetLastExecutionDate() const
const Aws::String & GetStatus() const
AssociationExecution & WithExecutionId(ExecutionIdT &&value)
bool DetailedStatusHasBeenSet() const
bool ExecutionIdHasBeenSet() const
AssociationExecution & WithLastExecutionDate(LastExecutionDateT &&value)
AWS_SSM_API AssociationExecution(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDetailedStatus() const
AssociationExecution & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetAssociationVersion() const
bool AssociationVersionHasBeenSet() const
void SetDetailedStatus(DetailedStatusT &&value)
bool LastExecutionDateHasBeenSet() const
void SetResourceCountByStatus(ResourceCountByStatusT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AssociationExecution & WithTriggeredAlarms(TriggeredAlarmsT &&value)
bool AssociationIdHasBeenSet() const
bool AlarmConfigurationHasBeenSet() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AlarmStateInformation > & GetTriggeredAlarms() const
void SetExecutionId(ExecutionIdT &&value)
AssociationExecution & WithResourceCountByStatus(ResourceCountByStatusT &&value)
AWS_SSM_API AssociationExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(CreatedTimeT &&value)
bool ResourceCountByStatusHasBeenSet() const
AssociationExecution & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetExecutionId() const
AWS_SSM_API AssociationExecution()=default
AssociationExecution & AddTriggeredAlarms(TriggeredAlarmsT &&value)
const Aws::String & GetAssociationId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue