AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationExecutionTarget.h
1
6#pragma once
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/OutputSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
48 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
49 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
50 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
51 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
52 inline AssociationExecutionTarget& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
53 inline AssociationExecutionTarget& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
54 inline AssociationExecutionTarget& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
56
58
61 inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; }
62 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
63 inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; }
64 inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); }
65 inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); }
67 inline AssociationExecutionTarget& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;}
68 inline AssociationExecutionTarget& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;}
70
72
75 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
76 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
77 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
78 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
79 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
80 inline AssociationExecutionTarget& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
81 inline AssociationExecutionTarget& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
82 inline AssociationExecutionTarget& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
84
86
90 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
91 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
92 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
93 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
94 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
95 inline AssociationExecutionTarget& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 inline AssociationExecutionTarget& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
97 inline AssociationExecutionTarget& WithResourceId(const char* value) { SetResourceId(value); return *this;}
99
101
104 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
105 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
106 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
107 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
108 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
109 inline AssociationExecutionTarget& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
110 inline AssociationExecutionTarget& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
111 inline AssociationExecutionTarget& WithResourceType(const char* value) { SetResourceType(value); return *this;}
113
115
118 inline const Aws::String& GetStatus() const{ return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
121 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
122 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
123 inline AssociationExecutionTarget& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
124 inline AssociationExecutionTarget& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
125 inline AssociationExecutionTarget& WithStatus(const char* value) { SetStatus(value); return *this;}
127
129
132 inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; }
133 inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; }
134 inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; }
135 inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); }
136 inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); }
137 inline AssociationExecutionTarget& WithDetailedStatus(const Aws::String& value) { SetDetailedStatus(value); return *this;}
138 inline AssociationExecutionTarget& WithDetailedStatus(Aws::String&& value) { SetDetailedStatus(std::move(value)); return *this;}
139 inline AssociationExecutionTarget& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastExecutionDate() const{ return m_lastExecutionDate; }
147 inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; }
148 inline void SetLastExecutionDate(const Aws::Utils::DateTime& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = value; }
149 inline void SetLastExecutionDate(Aws::Utils::DateTime&& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = std::move(value); }
153
155
158 inline const OutputSource& GetOutputSource() const{ return m_outputSource; }
159 inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; }
160 inline void SetOutputSource(const OutputSource& value) { m_outputSourceHasBeenSet = true; m_outputSource = value; }
161 inline void SetOutputSource(OutputSource&& value) { m_outputSourceHasBeenSet = true; m_outputSource = std::move(value); }
162 inline AssociationExecutionTarget& WithOutputSource(const OutputSource& value) { SetOutputSource(value); return *this;}
163 inline AssociationExecutionTarget& WithOutputSource(OutputSource&& value) { SetOutputSource(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_associationId;
168 bool m_associationIdHasBeenSet = false;
169
170 Aws::String m_associationVersion;
171 bool m_associationVersionHasBeenSet = false;
172
173 Aws::String m_executionId;
174 bool m_executionIdHasBeenSet = false;
175
176 Aws::String m_resourceId;
177 bool m_resourceIdHasBeenSet = false;
178
179 Aws::String m_resourceType;
180 bool m_resourceTypeHasBeenSet = false;
181
182 Aws::String m_status;
183 bool m_statusHasBeenSet = false;
184
185 Aws::String m_detailedStatus;
186 bool m_detailedStatusHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastExecutionDate;
189 bool m_lastExecutionDateHasBeenSet = false;
190
191 OutputSource m_outputSource;
192 bool m_outputSourceHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SSM
197} // namespace Aws
AssociationExecutionTarget & WithResourceId(const char *value)
AssociationExecutionTarget & WithLastExecutionDate(Aws::Utils::DateTime &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationExecutionTarget & WithAssociationVersion(const Aws::String &value)
AssociationExecutionTarget & WithStatus(const char *value)
AssociationExecutionTarget & WithOutputSource(const OutputSource &value)
AssociationExecutionTarget & WithStatus(Aws::String &&value)
AssociationExecutionTarget & WithExecutionId(const Aws::String &value)
AWS_SSM_API AssociationExecutionTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastExecutionDate() const
AssociationExecutionTarget & WithStatus(const Aws::String &value)
AssociationExecutionTarget & WithExecutionId(Aws::String &&value)
AssociationExecutionTarget & WithResourceId(const Aws::String &value)
AssociationExecutionTarget & WithLastExecutionDate(const Aws::Utils::DateTime &value)
AssociationExecutionTarget & WithAssociationVersion(Aws::String &&value)
AssociationExecutionTarget & WithResourceType(const Aws::String &value)
AssociationExecutionTarget & WithExecutionId(const char *value)
AssociationExecutionTarget & WithDetailedStatus(const char *value)
AssociationExecutionTarget & WithAssociationVersion(const char *value)
AWS_SSM_API AssociationExecutionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AssociationExecutionTarget & WithAssociationId(Aws::String &&value)
AssociationExecutionTarget & WithOutputSource(OutputSource &&value)
AssociationExecutionTarget & WithResourceType(const char *value)
AssociationExecutionTarget & WithResourceId(Aws::String &&value)
AssociationExecutionTarget & WithDetailedStatus(Aws::String &&value)
void SetLastExecutionDate(const Aws::Utils::DateTime &value)
AssociationExecutionTarget & WithResourceType(Aws::String &&value)
void SetLastExecutionDate(Aws::Utils::DateTime &&value)
AssociationExecutionTarget & WithAssociationId(const Aws::String &value)
AssociationExecutionTarget & WithAssociationId(const char *value)
AssociationExecutionTarget & WithDetailedStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue