7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/AlarmConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/AlarmStateInformation.h>
51 template<
typename AssociationIdT = Aws::String>
52 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
53 template<
typename AssociationIdT = Aws::String>
63 template<
typename AssociationVersionT = Aws::String>
64 void SetAssociationVersion(AssociationVersionT&& value) { m_associationVersionHasBeenSet =
true; m_associationVersion = std::forward<AssociationVersionT>(value); }
65 template<
typename AssociationVersionT = Aws::String>
75 template<
typename ExecutionIdT = Aws::String>
76 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet =
true; m_executionId = std::forward<ExecutionIdT>(value); }
77 template<
typename ExecutionIdT = Aws::String>
87 template<
typename StatusT = Aws::String>
88 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
89 template<
typename StatusT = Aws::String>
99 template<
typename DetailedStatusT = Aws::String>
100 void SetDetailedStatus(DetailedStatusT&& value) { m_detailedStatusHasBeenSet =
true; m_detailedStatus = std::forward<DetailedStatusT>(value); }
101 template<
typename DetailedStatusT = Aws::String>
111 template<
typename CreatedTimeT = Aws::Utils::DateTime>
112 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
113 template<
typename CreatedTimeT = Aws::Utils::DateTime>
123 template<
typename LastExecutionDateT = Aws::Utils::DateTime>
124 void SetLastExecutionDate(LastExecutionDateT&& value) { m_lastExecutionDateHasBeenSet =
true; m_lastExecutionDate = std::forward<LastExecutionDateT>(value); }
125 template<
typename LastExecutionDateT = Aws::Utils::DateTime>
136 template<
typename ResourceCountByStatusT = Aws::String>
137 void SetResourceCountByStatus(ResourceCountByStatusT&& value) { m_resourceCountByStatusHasBeenSet =
true; m_resourceCountByStatus = std::forward<ResourceCountByStatusT>(value); }
138 template<
typename ResourceCountByStatusT = Aws::String>
146 template<
typename AlarmConfigurationT = AlarmConfiguration>
147 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
148 template<
typename AlarmConfigurationT = AlarmConfiguration>
158 template<
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
159 void SetTriggeredAlarms(TriggeredAlarmsT&& value) { m_triggeredAlarmsHasBeenSet =
true; m_triggeredAlarms = std::forward<TriggeredAlarmsT>(value); }
160 template<
typename TriggeredAlarmsT = Aws::Vector<AlarmStateInformation>>
162 template<
typename TriggeredAlarmsT = AlarmStateInformation>
168 bool m_associationIdHasBeenSet =
false;
171 bool m_associationVersionHasBeenSet =
false;
174 bool m_executionIdHasBeenSet =
false;
177 bool m_statusHasBeenSet =
false;
180 bool m_detailedStatusHasBeenSet =
false;
183 bool m_createdTimeHasBeenSet =
false;
186 bool m_lastExecutionDateHasBeenSet =
false;
189 bool m_resourceCountByStatusHasBeenSet =
false;
191 AlarmConfiguration m_alarmConfiguration;
192 bool m_alarmConfigurationHasBeenSet =
false;
195 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