7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm/model/AssociationOverview.h>
12#include <aws/ssm/model/Target.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
83 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
97 inline void SetAssociationVersion(
const char* value) { m_associationVersionHasBeenSet =
true; m_associationVersion.assign(value); }
121 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
176 inline void SetScheduleExpression(
const char* value) { m_scheduleExpressionHasBeenSet =
true; m_scheduleExpression.assign(value); }
190 inline void SetAssociationName(
const char* value) { m_associationNameHasBeenSet =
true; m_associationName.assign(value); }
202 inline void SetScheduleOffset(
int value) { m_scheduleOffsetHasBeenSet =
true; m_scheduleOffset = value; }
214 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
235 bool m_nameHasBeenSet =
false;
238 bool m_instanceIdHasBeenSet =
false;
241 bool m_associationIdHasBeenSet =
false;
244 bool m_associationVersionHasBeenSet =
false;
247 bool m_documentVersionHasBeenSet =
false;
250 bool m_targetsHasBeenSet =
false;
253 bool m_lastExecutionDateHasBeenSet =
false;
256 bool m_overviewHasBeenSet =
false;
259 bool m_scheduleExpressionHasBeenSet =
false;
262 bool m_associationNameHasBeenSet =
false;
264 int m_scheduleOffset;
265 bool m_scheduleOffsetHasBeenSet =
false;
268 bool m_durationHasBeenSet =
false;
271 bool m_targetMapsHasBeenSet =
false;
Association & AddTargetMaps(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
int GetScheduleOffset() const
void SetTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
bool ScheduleExpressionHasBeenSet() const
void SetScheduleExpression(const char *value)
Association & AddTargetMaps(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Association & WithAssociationName(const char *value)
bool TargetMapsHasBeenSet() const
void SetAssociationName(const char *value)
void SetDuration(int value)
Association & WithAssociationName(Aws::String &&value)
void SetAssociationVersion(const Aws::String &value)
Association & WithAssociationId(const Aws::String &value)
void SetAssociationName(const Aws::String &value)
const Aws::String & GetDocumentVersion() const
bool AssociationIdHasBeenSet() const
bool TargetsHasBeenSet() const
Association & WithAssociationVersion(const Aws::String &value)
void SetScheduleOffset(int value)
Association & WithTargetMaps(Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &&value)
Association & WithScheduleExpression(const Aws::String &value)
bool LastExecutionDateHasBeenSet() const
bool ScheduleOffsetHasBeenSet() const
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
AWS_SSM_API Association(Aws::Utils::Json::JsonView jsonValue)
Association & WithName(const char *value)
void SetInstanceId(const char *value)
Association & WithOverview(const AssociationOverview &value)
void SetAssociationId(const Aws::String &value)
bool DurationHasBeenSet() const
Association & WithLastExecutionDate(const Aws::Utils::DateTime &value)
void SetAssociationVersion(const char *value)
AWS_SSM_API Association & operator=(Aws::Utils::Json::JsonView jsonValue)
Association & WithDocumentVersion(Aws::String &&value)
const Aws::String & GetScheduleExpression() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOverview(const AssociationOverview &value)
Association & WithTargets(Aws::Vector< Target > &&value)
bool AssociationNameHasBeenSet() const
const Aws::String & GetInstanceId() const
const Aws::String & GetAssociationName() const
void SetDocumentVersion(const Aws::String &value)
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
Association & WithDocumentVersion(const Aws::String &value)
Association & AddTargets(const Target &value)
Association & WithInstanceId(const Aws::String &value)
void SetAssociationName(Aws::String &&value)
Association & WithTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
Association & WithInstanceId(Aws::String &&value)
Association & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastExecutionDate() const
void SetName(const char *value)
void SetTargets(Aws::Vector< Target > &&value)
bool AssociationVersionHasBeenSet() const
Association & WithScheduleExpression(const char *value)
void SetScheduleExpression(Aws::String &&value)
Association & WithAssociationName(const Aws::String &value)
AWS_SSM_API Association()
void SetDocumentVersion(Aws::String &&value)
void SetName(const Aws::String &value)
Association & WithName(const Aws::String &value)
void SetTargetMaps(const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > &value)
Association & WithDuration(int value)
Association & WithAssociationId(Aws::String &&value)
Association & WithTargets(const Aws::Vector< Target > &value)
const Aws::Vector< Aws::Map< Aws::String, Aws::Vector< Aws::String > > > & GetTargetMaps() const
void SetScheduleExpression(const Aws::String &value)
const Aws::Vector< Target > & GetTargets() const
void SetInstanceId(const Aws::String &value)
const AssociationOverview & GetOverview() const
void SetAssociationId(const char *value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetAssociationVersion() const
void SetOverview(AssociationOverview &&value)
Association & AddTargets(Target &&value)
Association & WithOverview(AssociationOverview &&value)
Association & WithLastExecutionDate(Aws::Utils::DateTime &&value)
Association & WithAssociationVersion(Aws::String &&value)
Association & WithAssociationVersion(const char *value)
Association & WithScheduleExpression(Aws::String &&value)
Association & WithAssociationId(const char *value)
void SetAssociationId(Aws::String &&value)
bool OverviewHasBeenSet() const
const Aws::String & GetAssociationId() const
Association & WithInstanceId(const char *value)
bool DocumentVersionHasBeenSet() const
void SetTargets(const Aws::Vector< Target > &value)
Association & WithDocumentVersion(const char *value)
void SetDocumentVersion(const char *value)
void SetAssociationVersion(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
void SetLastExecutionDate(Aws::Utils::DateTime &&value)
Association & WithScheduleOffset(int value)
const Aws::String & GetName() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue