AWS SDK for C++  1.9.161
AWS SDK for C++
ContainerInstance.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
14 #include <aws/ecs/model/Resource.h>
17 #include <aws/ecs/model/Tag.h>
18 #include <utility>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27  class JsonView;
28 } // namespace Json
29 } // namespace Utils
30 namespace ECS
31 {
32 namespace Model
33 {
34 
42  {
43  public:
48 
49 
58  inline const Aws::String& GetContainerInstanceArn() const{ return m_containerInstanceArn; }
59 
68  inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }
69 
78  inline void SetContainerInstanceArn(const Aws::String& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = value; }
79 
88  inline void SetContainerInstanceArn(Aws::String&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::move(value); }
89 
98  inline void SetContainerInstanceArn(const char* value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn.assign(value); }
99 
108  inline ContainerInstance& WithContainerInstanceArn(const Aws::String& value) { SetContainerInstanceArn(value); return *this;}
109 
118  inline ContainerInstance& WithContainerInstanceArn(Aws::String&& value) { SetContainerInstanceArn(std::move(value)); return *this;}
119 
128  inline ContainerInstance& WithContainerInstanceArn(const char* value) { SetContainerInstanceArn(value); return *this;}
129 
130 
136  inline const Aws::String& GetEc2InstanceId() const{ return m_ec2InstanceId; }
137 
143  inline bool Ec2InstanceIdHasBeenSet() const { return m_ec2InstanceIdHasBeenSet; }
144 
150  inline void SetEc2InstanceId(const Aws::String& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = value; }
151 
157  inline void SetEc2InstanceId(Aws::String&& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = std::move(value); }
158 
164  inline void SetEc2InstanceId(const char* value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId.assign(value); }
165 
171  inline ContainerInstance& WithEc2InstanceId(const Aws::String& value) { SetEc2InstanceId(value); return *this;}
172 
178  inline ContainerInstance& WithEc2InstanceId(Aws::String&& value) { SetEc2InstanceId(std::move(value)); return *this;}
179 
185  inline ContainerInstance& WithEc2InstanceId(const char* value) { SetEc2InstanceId(value); return *this;}
186 
187 
191  inline const Aws::String& GetCapacityProviderName() const{ return m_capacityProviderName; }
192 
196  inline bool CapacityProviderNameHasBeenSet() const { return m_capacityProviderNameHasBeenSet; }
197 
201  inline void SetCapacityProviderName(const Aws::String& value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName = value; }
202 
206  inline void SetCapacityProviderName(Aws::String&& value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName = std::move(value); }
207 
211  inline void SetCapacityProviderName(const char* value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName.assign(value); }
212 
216  inline ContainerInstance& WithCapacityProviderName(const Aws::String& value) { SetCapacityProviderName(value); return *this;}
217 
221  inline ContainerInstance& WithCapacityProviderName(Aws::String&& value) { SetCapacityProviderName(std::move(value)); return *this;}
222 
226  inline ContainerInstance& WithCapacityProviderName(const char* value) { SetCapacityProviderName(value); return *this;}
227 
228 
238  inline long long GetVersion() const{ return m_version; }
239 
249  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
250 
260  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
261 
271  inline ContainerInstance& WithVersion(long long value) { SetVersion(value); return *this;}
272 
273 
278  inline const VersionInfo& GetVersionInfo() const{ return m_versionInfo; }
279 
284  inline bool VersionInfoHasBeenSet() const { return m_versionInfoHasBeenSet; }
285 
290  inline void SetVersionInfo(const VersionInfo& value) { m_versionInfoHasBeenSet = true; m_versionInfo = value; }
291 
296  inline void SetVersionInfo(VersionInfo&& value) { m_versionInfoHasBeenSet = true; m_versionInfo = std::move(value); }
297 
302  inline ContainerInstance& WithVersionInfo(const VersionInfo& value) { SetVersionInfo(value); return *this;}
303 
308  inline ContainerInstance& WithVersionInfo(VersionInfo&& value) { SetVersionInfo(std::move(value)); return *this;}
309 
310 
320  inline const Aws::Vector<Resource>& GetRemainingResources() const{ return m_remainingResources; }
321 
331  inline bool RemainingResourcesHasBeenSet() const { return m_remainingResourcesHasBeenSet; }
332 
342  inline void SetRemainingResources(const Aws::Vector<Resource>& value) { m_remainingResourcesHasBeenSet = true; m_remainingResources = value; }
343 
353  inline void SetRemainingResources(Aws::Vector<Resource>&& value) { m_remainingResourcesHasBeenSet = true; m_remainingResources = std::move(value); }
354 
364  inline ContainerInstance& WithRemainingResources(const Aws::Vector<Resource>& value) { SetRemainingResources(value); return *this;}
365 
375  inline ContainerInstance& WithRemainingResources(Aws::Vector<Resource>&& value) { SetRemainingResources(std::move(value)); return *this;}
376 
386  inline ContainerInstance& AddRemainingResources(const Resource& value) { m_remainingResourcesHasBeenSet = true; m_remainingResources.push_back(value); return *this; }
387 
397  inline ContainerInstance& AddRemainingResources(Resource&& value) { m_remainingResourcesHasBeenSet = true; m_remainingResources.push_back(std::move(value)); return *this; }
398 
399 
409  inline const Aws::Vector<Resource>& GetRegisteredResources() const{ return m_registeredResources; }
410 
420  inline bool RegisteredResourcesHasBeenSet() const { return m_registeredResourcesHasBeenSet; }
421 
431  inline void SetRegisteredResources(const Aws::Vector<Resource>& value) { m_registeredResourcesHasBeenSet = true; m_registeredResources = value; }
432 
442  inline void SetRegisteredResources(Aws::Vector<Resource>&& value) { m_registeredResourcesHasBeenSet = true; m_registeredResources = std::move(value); }
443 
453  inline ContainerInstance& WithRegisteredResources(const Aws::Vector<Resource>& value) { SetRegisteredResources(value); return *this;}
454 
464  inline ContainerInstance& WithRegisteredResources(Aws::Vector<Resource>&& value) { SetRegisteredResources(std::move(value)); return *this;}
465 
475  inline ContainerInstance& AddRegisteredResources(const Resource& value) { m_registeredResourcesHasBeenSet = true; m_registeredResources.push_back(value); return *this; }
476 
486  inline ContainerInstance& AddRegisteredResources(Resource&& value) { m_registeredResourcesHasBeenSet = true; m_registeredResources.push_back(std::move(value)); return *this; }
487 
488 
511  inline const Aws::String& GetStatus() const{ return m_status; }
512 
535  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
536 
559  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
560 
583  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
584 
607  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
608 
631  inline ContainerInstance& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
632 
655  inline ContainerInstance& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
656 
679  inline ContainerInstance& WithStatus(const char* value) { SetStatus(value); return *this;}
680 
681 
685  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
686 
690  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
691 
695  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
696 
700  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
701 
705  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
706 
710  inline ContainerInstance& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
711 
715  inline ContainerInstance& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
716 
720  inline ContainerInstance& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
721 
722 
729  inline bool GetAgentConnected() const{ return m_agentConnected; }
730 
737  inline bool AgentConnectedHasBeenSet() const { return m_agentConnectedHasBeenSet; }
738 
745  inline void SetAgentConnected(bool value) { m_agentConnectedHasBeenSet = true; m_agentConnected = value; }
746 
753  inline ContainerInstance& WithAgentConnected(bool value) { SetAgentConnected(value); return *this;}
754 
755 
760  inline int GetRunningTasksCount() const{ return m_runningTasksCount; }
761 
766  inline bool RunningTasksCountHasBeenSet() const { return m_runningTasksCountHasBeenSet; }
767 
772  inline void SetRunningTasksCount(int value) { m_runningTasksCountHasBeenSet = true; m_runningTasksCount = value; }
773 
778  inline ContainerInstance& WithRunningTasksCount(int value) { SetRunningTasksCount(value); return *this;}
779 
780 
785  inline int GetPendingTasksCount() const{ return m_pendingTasksCount; }
786 
791  inline bool PendingTasksCountHasBeenSet() const { return m_pendingTasksCountHasBeenSet; }
792 
797  inline void SetPendingTasksCount(int value) { m_pendingTasksCountHasBeenSet = true; m_pendingTasksCount = value; }
798 
803  inline ContainerInstance& WithPendingTasksCount(int value) { SetPendingTasksCount(value); return *this;}
804 
805 
810  inline const AgentUpdateStatus& GetAgentUpdateStatus() const{ return m_agentUpdateStatus; }
811 
816  inline bool AgentUpdateStatusHasBeenSet() const { return m_agentUpdateStatusHasBeenSet; }
817 
822  inline void SetAgentUpdateStatus(const AgentUpdateStatus& value) { m_agentUpdateStatusHasBeenSet = true; m_agentUpdateStatus = value; }
823 
828  inline void SetAgentUpdateStatus(AgentUpdateStatus&& value) { m_agentUpdateStatusHasBeenSet = true; m_agentUpdateStatus = std::move(value); }
829 
834  inline ContainerInstance& WithAgentUpdateStatus(const AgentUpdateStatus& value) { SetAgentUpdateStatus(value); return *this;}
835 
840  inline ContainerInstance& WithAgentUpdateStatus(AgentUpdateStatus&& value) { SetAgentUpdateStatus(std::move(value)); return *this;}
841 
842 
848  inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
849 
855  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
856 
862  inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
863 
869  inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
870 
876  inline ContainerInstance& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
877 
883  inline ContainerInstance& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
884 
890  inline ContainerInstance& AddAttributes(const Attribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
891 
897  inline ContainerInstance& AddAttributes(Attribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
898 
899 
904  inline const Aws::Utils::DateTime& GetRegisteredAt() const{ return m_registeredAt; }
905 
910  inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; }
911 
916  inline void SetRegisteredAt(const Aws::Utils::DateTime& value) { m_registeredAtHasBeenSet = true; m_registeredAt = value; }
917 
922  inline void SetRegisteredAt(Aws::Utils::DateTime&& value) { m_registeredAtHasBeenSet = true; m_registeredAt = std::move(value); }
923 
928  inline ContainerInstance& WithRegisteredAt(const Aws::Utils::DateTime& value) { SetRegisteredAt(value); return *this;}
929 
934  inline ContainerInstance& WithRegisteredAt(Aws::Utils::DateTime&& value) { SetRegisteredAt(std::move(value)); return *this;}
935 
936 
941  inline const Aws::Vector<Attachment>& GetAttachments() const{ return m_attachments; }
942 
947  inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
948 
953  inline void SetAttachments(const Aws::Vector<Attachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
954 
959  inline void SetAttachments(Aws::Vector<Attachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
960 
965  inline ContainerInstance& WithAttachments(const Aws::Vector<Attachment>& value) { SetAttachments(value); return *this;}
966 
971  inline ContainerInstance& WithAttachments(Aws::Vector<Attachment>&& value) { SetAttachments(std::move(value)); return *this;}
972 
977  inline ContainerInstance& AddAttachments(const Attachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
978 
983  inline ContainerInstance& AddAttachments(Attachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
984 
985 
1004  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1005 
1024  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1025 
1044  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1045 
1064  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1065 
1084  inline ContainerInstance& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1085 
1104  inline ContainerInstance& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1105 
1124  inline ContainerInstance& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1125 
1144  inline ContainerInstance& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1145 
1146 
1150  inline const ContainerInstanceHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
1151 
1155  inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
1156 
1160  inline void SetHealthStatus(const ContainerInstanceHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
1161 
1165  inline void SetHealthStatus(ContainerInstanceHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); }
1166 
1170  inline ContainerInstance& WithHealthStatus(const ContainerInstanceHealthStatus& value) { SetHealthStatus(value); return *this;}
1171 
1175  inline ContainerInstance& WithHealthStatus(ContainerInstanceHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
1176 
1177  private:
1178 
1179  Aws::String m_containerInstanceArn;
1180  bool m_containerInstanceArnHasBeenSet;
1181 
1182  Aws::String m_ec2InstanceId;
1183  bool m_ec2InstanceIdHasBeenSet;
1184 
1185  Aws::String m_capacityProviderName;
1186  bool m_capacityProviderNameHasBeenSet;
1187 
1188  long long m_version;
1189  bool m_versionHasBeenSet;
1190 
1191  VersionInfo m_versionInfo;
1192  bool m_versionInfoHasBeenSet;
1193 
1194  Aws::Vector<Resource> m_remainingResources;
1195  bool m_remainingResourcesHasBeenSet;
1196 
1197  Aws::Vector<Resource> m_registeredResources;
1198  bool m_registeredResourcesHasBeenSet;
1199 
1200  Aws::String m_status;
1201  bool m_statusHasBeenSet;
1202 
1203  Aws::String m_statusReason;
1204  bool m_statusReasonHasBeenSet;
1205 
1206  bool m_agentConnected;
1207  bool m_agentConnectedHasBeenSet;
1208 
1209  int m_runningTasksCount;
1210  bool m_runningTasksCountHasBeenSet;
1211 
1212  int m_pendingTasksCount;
1213  bool m_pendingTasksCountHasBeenSet;
1214 
1215  AgentUpdateStatus m_agentUpdateStatus;
1216  bool m_agentUpdateStatusHasBeenSet;
1217 
1218  Aws::Vector<Attribute> m_attributes;
1219  bool m_attributesHasBeenSet;
1220 
1221  Aws::Utils::DateTime m_registeredAt;
1222  bool m_registeredAtHasBeenSet;
1223 
1224  Aws::Vector<Attachment> m_attachments;
1225  bool m_attachmentsHasBeenSet;
1226 
1227  Aws::Vector<Tag> m_tags;
1228  bool m_tagsHasBeenSet;
1229 
1230  ContainerInstanceHealthStatus m_healthStatus;
1231  bool m_healthStatusHasBeenSet;
1232  };
1233 
1234 } // namespace Model
1235 } // namespace ECS
1236 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ECS::Model::ContainerInstance::GetAttributes
const Aws::Vector< Attribute > & GetAttributes() const
Definition: ContainerInstance.h:848
Aws::ECS::Model::ContainerInstance::WithStatusReason
ContainerInstance & WithStatusReason(const char *value)
Definition: ContainerInstance.h:720
Aws::ECS::Model::ContainerInstance::WithVersionInfo
ContainerInstance & WithVersionInfo(VersionInfo &&value)
Definition: ContainerInstance.h:308
Aws::ECS::Model::ContainerInstance::AddRegisteredResources
ContainerInstance & AddRegisteredResources(Resource &&value)
Definition: ContainerInstance.h:486
Aws::ECS::Model::ContainerInstance::SetStatus
void SetStatus(const Aws::String &value)
Definition: ContainerInstance.h:559
Aws::ECS::Model::ContainerInstance::WithVersion
ContainerInstance & WithVersion(long long value)
Definition: ContainerInstance.h:271
Aws::ECS::Model::ContainerInstance::WithPendingTasksCount
ContainerInstance & WithPendingTasksCount(int value)
Definition: ContainerInstance.h:803
Aws::ECS::Model::ContainerInstance::WithAttributes
ContainerInstance & WithAttributes(Aws::Vector< Attribute > &&value)
Definition: ContainerInstance.h:883
Aws::ECS::Model::ContainerInstance::WithAttachments
ContainerInstance & WithAttachments(Aws::Vector< Attachment > &&value)
Definition: ContainerInstance.h:971
VersionInfo.h
Aws::ECS::Model::ContainerInstance::SetAttributes
void SetAttributes(const Aws::Vector< Attribute > &value)
Definition: ContainerInstance.h:862
Aws::ECS::Model::ContainerInstance::CapacityProviderNameHasBeenSet
bool CapacityProviderNameHasBeenSet() const
Definition: ContainerInstance.h:196
Aws::ECS::Model::ContainerInstance::WithAgentUpdateStatus
ContainerInstance & WithAgentUpdateStatus(const AgentUpdateStatus &value)
Definition: ContainerInstance.h:834
Aws::ECS::Model::ContainerInstance::WithContainerInstanceArn
ContainerInstance & WithContainerInstanceArn(Aws::String &&value)
Definition: ContainerInstance.h:118
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::Attachment
Definition: Attachment.h:35
Aws::ECS::Model::ContainerInstance::SetRunningTasksCount
void SetRunningTasksCount(int value)
Definition: ContainerInstance.h:772
Aws::ECS::Model::ContainerInstance::GetAgentConnected
bool GetAgentConnected() const
Definition: ContainerInstance.h:729
Aws::ECS::Model::ContainerInstance::WithRegisteredAt
ContainerInstance & WithRegisteredAt(const Aws::Utils::DateTime &value)
Definition: ContainerInstance.h:928
Aws::ECS::Model::ContainerInstance::GetVersionInfo
const VersionInfo & GetVersionInfo() const
Definition: ContainerInstance.h:278
Aws::ECS::Model::ContainerInstance::WithStatusReason
ContainerInstance & WithStatusReason(const Aws::String &value)
Definition: ContainerInstance.h:710
Aws::ECS::Model::ContainerInstance::SetAttachments
void SetAttachments(Aws::Vector< Attachment > &&value)
Definition: ContainerInstance.h:959
Aws::ECS::Model::ContainerInstance::RegisteredResourcesHasBeenSet
bool RegisteredResourcesHasBeenSet() const
Definition: ContainerInstance.h:420
Aws::ECS::Model::ContainerInstance::SetVersionInfo
void SetVersionInfo(VersionInfo &&value)
Definition: ContainerInstance.h:296
Tag.h
Aws::ECS::Model::ContainerInstance::PendingTasksCountHasBeenSet
bool PendingTasksCountHasBeenSet() const
Definition: ContainerInstance.h:791
Aws::ECS::Model::ContainerInstance::WithRemainingResources
ContainerInstance & WithRemainingResources(const Aws::Vector< Resource > &value)
Definition: ContainerInstance.h:364
DateTime.h
Aws::ECS::Model::ContainerInstance::RemainingResourcesHasBeenSet
bool RemainingResourcesHasBeenSet() const
Definition: ContainerInstance.h:331
Aws::ECS::Model::ContainerInstance::WithEc2InstanceId
ContainerInstance & WithEc2InstanceId(Aws::String &&value)
Definition: ContainerInstance.h:178
Aws::ECS::Model::ContainerInstance::SetRemainingResources
void SetRemainingResources(Aws::Vector< Resource > &&value)
Definition: ContainerInstance.h:353
Aws::ECS::Model::ContainerInstance::SetCapacityProviderName
void SetCapacityProviderName(const char *value)
Definition: ContainerInstance.h:211
Aws::ECS::Model::ContainerInstance::WithHealthStatus
ContainerInstance & WithHealthStatus(ContainerInstanceHealthStatus &&value)
Definition: ContainerInstance.h:1175
Aws::ECS::Model::ContainerInstance::SetCapacityProviderName
void SetCapacityProviderName(const Aws::String &value)
Definition: ContainerInstance.h:201
Aws::ECS::Model::ContainerInstance::SetAttributes
void SetAttributes(Aws::Vector< Attribute > &&value)
Definition: ContainerInstance.h:869
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ContainerInstance::AddTags
ContainerInstance & AddTags(Tag &&value)
Definition: ContainerInstance.h:1144
Aws::ECS::Model::ContainerInstance::operator=
ContainerInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ContainerInstance::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ContainerInstance.h:1024
Aws::ECS::Model::ContainerInstance::WithStatusReason
ContainerInstance & WithStatusReason(Aws::String &&value)
Definition: ContainerInstance.h:715
Aws::ECS::Model::ContainerInstance::SetEc2InstanceId
void SetEc2InstanceId(const Aws::String &value)
Definition: ContainerInstance.h:150
Aws::ECS::Model::ContainerInstance::AddRemainingResources
ContainerInstance & AddRemainingResources(Resource &&value)
Definition: ContainerInstance.h:397
Aws::ECS::Model::ContainerInstance::WithRegisteredResources
ContainerInstance & WithRegisteredResources(Aws::Vector< Resource > &&value)
Definition: ContainerInstance.h:464
Aws::ECS::Model::Tag
Definition: Tag.h:47
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ContainerInstance::SetEc2InstanceId
void SetEc2InstanceId(const char *value)
Definition: ContainerInstance.h:164
Aws::ECS::Model::ContainerInstance::GetAgentUpdateStatus
const AgentUpdateStatus & GetAgentUpdateStatus() const
Definition: ContainerInstance.h:810
Aws::ECS::Model::ContainerInstance::WithContainerInstanceArn
ContainerInstance & WithContainerInstanceArn(const char *value)
Definition: ContainerInstance.h:128
Aws::ECS::Model::ContainerInstance::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ContainerInstance.h:1064
Aws::ECS::Model::Resource
Definition: Resource.h:34
Aws::ECS::Model::ContainerInstance::SetAgentUpdateStatus
void SetAgentUpdateStatus(const AgentUpdateStatus &value)
Definition: ContainerInstance.h:822
Aws::ECS::Model::ContainerInstance::SetContainerInstanceArn
void SetContainerInstanceArn(const Aws::String &value)
Definition: ContainerInstance.h:78
Aws::ECS::Model::ContainerInstance::WithRegisteredResources
ContainerInstance & WithRegisteredResources(const Aws::Vector< Resource > &value)
Definition: ContainerInstance.h:453
Aws::ECS::Model::ContainerInstance::GetCapacityProviderName
const Aws::String & GetCapacityProviderName() const
Definition: ContainerInstance.h:191
Aws::ECS::Model::ContainerInstance::GetContainerInstanceArn
const Aws::String & GetContainerInstanceArn() const
Definition: ContainerInstance.h:58
Aws::ECS::Model::ContainerInstance::SetVersionInfo
void SetVersionInfo(const VersionInfo &value)
Definition: ContainerInstance.h:290
Attribute.h
Aws::ECS::Model::ContainerInstance::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ContainerInstance.h:1044
Aws::ECS::Model::ContainerInstance::SetPendingTasksCount
void SetPendingTasksCount(int value)
Definition: ContainerInstance.h:797
Attachment.h
Aws::ECS::Model::ContainerInstance::SetRemainingResources
void SetRemainingResources(const Aws::Vector< Resource > &value)
Definition: ContainerInstance.h:342
Aws::ECS::Model::ContainerInstance::WithAttributes
ContainerInstance & WithAttributes(const Aws::Vector< Attribute > &value)
Definition: ContainerInstance.h:876
Aws::ECS::Model::ContainerInstance::WithEc2InstanceId
ContainerInstance & WithEc2InstanceId(const Aws::String &value)
Definition: ContainerInstance.h:171
Aws::ECS::Model::ContainerInstance::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: ContainerInstance.h:700
Aws::ECS::Model::ContainerInstance::SetStatus
void SetStatus(const char *value)
Definition: ContainerInstance.h:607
Aws::ECS::Model::ContainerInstance::ContainerInstanceArnHasBeenSet
bool ContainerInstanceArnHasBeenSet() const
Definition: ContainerInstance.h:68
Aws::ECS::Model::ContainerInstance::SetRegisteredAt
void SetRegisteredAt(const Aws::Utils::DateTime &value)
Definition: ContainerInstance.h:916
Aws::ECS::Model::ContainerInstance::SetRegisteredResources
void SetRegisteredResources(const Aws::Vector< Resource > &value)
Definition: ContainerInstance.h:431
Aws::ECS::Model::ContainerInstance::AddAttachments
ContainerInstance & AddAttachments(Attachment &&value)
Definition: ContainerInstance.h:983
Aws::ECS::Model::ContainerInstance::Ec2InstanceIdHasBeenSet
bool Ec2InstanceIdHasBeenSet() const
Definition: ContainerInstance.h:143
Aws::ECS::Model::ContainerInstance::AgentUpdateStatusHasBeenSet
bool AgentUpdateStatusHasBeenSet() const
Definition: ContainerInstance.h:816
Aws::ECS::Model::ContainerInstance::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ContainerInstance.h:535
Aws::ECS::Model::ContainerInstance::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: ContainerInstance.h:690
Aws::ECS::Model::ContainerInstance::WithRemainingResources
ContainerInstance & WithRemainingResources(Aws::Vector< Resource > &&value)
Definition: ContainerInstance.h:375
Aws::ECS::Model::ContainerInstance::WithRegisteredAt
ContainerInstance & WithRegisteredAt(Aws::Utils::DateTime &&value)
Definition: ContainerInstance.h:934
Aws::ECS::Model::ContainerInstance::HealthStatusHasBeenSet
bool HealthStatusHasBeenSet() const
Definition: ContainerInstance.h:1155
Aws::ECS::Model::ContainerInstance::AddAttributes
ContainerInstance & AddAttributes(Attribute &&value)
Definition: ContainerInstance.h:897
Aws::ECS::Model::ContainerInstance::SetAgentConnected
void SetAgentConnected(bool value)
Definition: ContainerInstance.h:745
Aws::ECS::Model::ContainerInstance::SetStatus
void SetStatus(Aws::String &&value)
Definition: ContainerInstance.h:583
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::ContainerInstance::WithAgentConnected
ContainerInstance & WithAgentConnected(bool value)
Definition: ContainerInstance.h:753
Aws::ECS::Model::ContainerInstance::GetStatus
const Aws::String & GetStatus() const
Definition: ContainerInstance.h:511
Aws::ECS::Model::ContainerInstance::WithAttachments
ContainerInstance & WithAttachments(const Aws::Vector< Attachment > &value)
Definition: ContainerInstance.h:965
Aws::ECS::Model::ContainerInstance::SetHealthStatus
void SetHealthStatus(ContainerInstanceHealthStatus &&value)
Definition: ContainerInstance.h:1165
Aws::ECS::Model::ContainerInstance::GetRegisteredResources
const Aws::Vector< Resource > & GetRegisteredResources() const
Definition: ContainerInstance.h:409
Aws::ECS::Model::ContainerInstance::AddRemainingResources
ContainerInstance & AddRemainingResources(const Resource &value)
Definition: ContainerInstance.h:386
Aws::ECS::Model::ContainerInstanceHealthStatus
Definition: ContainerInstanceHealthStatus.h:35
Aws::ECS::Model::ContainerInstance::WithStatus
ContainerInstance & WithStatus(const Aws::String &value)
Definition: ContainerInstance.h:631
Aws::ECS::Model::ContainerInstance::AddTags
ContainerInstance & AddTags(const Tag &value)
Definition: ContainerInstance.h:1124
Aws::ECS::Model::ContainerInstance::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: ContainerInstance.h:249
Aws::ECS::Model::ContainerInstance::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ContainerInstance.h:1004
Aws::ECS::Model::ContainerInstance::SetAgentUpdateStatus
void SetAgentUpdateStatus(AgentUpdateStatus &&value)
Definition: ContainerInstance.h:828
Aws::ECS::Model::ContainerInstance::AddRegisteredResources
ContainerInstance & AddRegisteredResources(const Resource &value)
Definition: ContainerInstance.h:475
Aws::ECS::Model::ContainerInstance::RunningTasksCountHasBeenSet
bool RunningTasksCountHasBeenSet() const
Definition: ContainerInstance.h:766
Resource.h
Aws::ECS::Model::ContainerInstance::AttachmentsHasBeenSet
bool AttachmentsHasBeenSet() const
Definition: ContainerInstance.h:947
Aws::ECS::Model::ContainerInstance::AgentConnectedHasBeenSet
bool AgentConnectedHasBeenSet() const
Definition: ContainerInstance.h:737
Aws::ECS::Model::ContainerInstance::GetRegisteredAt
const Aws::Utils::DateTime & GetRegisteredAt() const
Definition: ContainerInstance.h:904
Aws::ECS::Model::ContainerInstance::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: ContainerInstance.h:685
Aws::ECS::Model::ContainerInstance::GetPendingTasksCount
int GetPendingTasksCount() const
Definition: ContainerInstance.h:785
Aws::ECS::Model::ContainerInstance::GetVersion
long long GetVersion() const
Definition: ContainerInstance.h:238
Aws::ECS::Model::ContainerInstance::AddAttachments
ContainerInstance & AddAttachments(const Attachment &value)
Definition: ContainerInstance.h:977
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::ContainerInstance::ContainerInstance
ContainerInstance(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::AgentUpdateStatus
AgentUpdateStatus
Definition: AgentUpdateStatus.h:17
Aws::ECS::Model::ContainerInstance::SetRegisteredResources
void SetRegisteredResources(Aws::Vector< Resource > &&value)
Definition: ContainerInstance.h:442
Aws::ECS::Model::ContainerInstance::WithStatus
ContainerInstance & WithStatus(Aws::String &&value)
Definition: ContainerInstance.h:655
Aws::ECS::Model::ContainerInstance::ContainerInstance
ContainerInstance()
Aws::ECS::Model::ContainerInstance::VersionInfoHasBeenSet
bool VersionInfoHasBeenSet() const
Definition: ContainerInstance.h:284
Aws::ECS::Model::ContainerInstance::WithCapacityProviderName
ContainerInstance & WithCapacityProviderName(const Aws::String &value)
Definition: ContainerInstance.h:216
Aws::ECS::Model::ContainerInstance::WithRunningTasksCount
ContainerInstance & WithRunningTasksCount(int value)
Definition: ContainerInstance.h:778
Aws::ECS::Model::ContainerInstance::RegisteredAtHasBeenSet
bool RegisteredAtHasBeenSet() const
Definition: ContainerInstance.h:910
ContainerInstanceHealthStatus.h
Aws::ECS::Model::ContainerInstance::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: ContainerInstance.h:855
Aws::ECS::Model::ContainerInstance::WithEc2InstanceId
ContainerInstance & WithEc2InstanceId(const char *value)
Definition: ContainerInstance.h:185
Aws::ECS::Model::ContainerInstance::GetHealthStatus
const ContainerInstanceHealthStatus & GetHealthStatus() const
Definition: ContainerInstance.h:1150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ContainerInstance::GetRunningTasksCount
int GetRunningTasksCount() const
Definition: ContainerInstance.h:760
Aws::ECS::Model::ContainerInstance::WithHealthStatus
ContainerInstance & WithHealthStatus(const ContainerInstanceHealthStatus &value)
Definition: ContainerInstance.h:1170
Aws::ECS::Model::ContainerInstance::WithCapacityProviderName
ContainerInstance & WithCapacityProviderName(const char *value)
Definition: ContainerInstance.h:226
Aws::ECS::Model::Attribute
Definition: Attribute.h:38
Aws::ECS::Model::ContainerInstance::SetRegisteredAt
void SetRegisteredAt(Aws::Utils::DateTime &&value)
Definition: ContainerInstance.h:922
Aws::ECS::Model::ContainerInstance::WithAgentUpdateStatus
ContainerInstance & WithAgentUpdateStatus(AgentUpdateStatus &&value)
Definition: ContainerInstance.h:840
Aws::ECS::Model::ContainerInstance::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::ContainerInstance::WithVersionInfo
ContainerInstance & WithVersionInfo(const VersionInfo &value)
Definition: ContainerInstance.h:302
Aws::ECS::Model::ContainerInstance::SetStatusReason
void SetStatusReason(const char *value)
Definition: ContainerInstance.h:705
Aws::ECS::Model::ContainerInstance::SetVersion
void SetVersion(long long value)
Definition: ContainerInstance.h:260
Aws::ECS::Model::VersionInfo
Definition: VersionInfo.h:33
Aws::ECS::Model::ContainerInstance::WithContainerInstanceArn
ContainerInstance & WithContainerInstanceArn(const Aws::String &value)
Definition: ContainerInstance.h:108
Aws::ECS::Model::ContainerInstance::WithTags
ContainerInstance & WithTags(const Aws::Vector< Tag > &value)
Definition: ContainerInstance.h:1084
Aws::ECS::Model::ContainerInstance::SetContainerInstanceArn
void SetContainerInstanceArn(Aws::String &&value)
Definition: ContainerInstance.h:88
Aws::ECS::Model::ContainerInstance::SetHealthStatus
void SetHealthStatus(const ContainerInstanceHealthStatus &value)
Definition: ContainerInstance.h:1160
AgentUpdateStatus.h
Aws::ECS::Model::ContainerInstance::SetAttachments
void SetAttachments(const Aws::Vector< Attachment > &value)
Definition: ContainerInstance.h:953
Aws::ECS::Model::ContainerInstance::WithCapacityProviderName
ContainerInstance & WithCapacityProviderName(Aws::String &&value)
Definition: ContainerInstance.h:221
Aws::ECS::Model::ContainerInstance::GetRemainingResources
const Aws::Vector< Resource > & GetRemainingResources() const
Definition: ContainerInstance.h:320
Aws::ECS::Model::ContainerInstance
Definition: ContainerInstance.h:42
Aws::ECS::Model::ContainerInstance::GetEc2InstanceId
const Aws::String & GetEc2InstanceId() const
Definition: ContainerInstance.h:136
Aws::ECS::Model::ContainerInstance::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: ContainerInstance.h:695
ECS_EXPORTS.h
Aws::ECS::Model::ContainerInstance::AddAttributes
ContainerInstance & AddAttributes(const Attribute &value)
Definition: ContainerInstance.h:890
Aws::ECS::Model::ContainerInstance::WithStatus
ContainerInstance & WithStatus(const char *value)
Definition: ContainerInstance.h:679
Aws::ECS::Model::ContainerInstance::WithTags
ContainerInstance & WithTags(Aws::Vector< Tag > &&value)
Definition: ContainerInstance.h:1104
Aws::ECS::Model::ContainerInstance::SetEc2InstanceId
void SetEc2InstanceId(Aws::String &&value)
Definition: ContainerInstance.h:157
Aws::ECS::Model::ContainerInstance::GetAttachments
const Aws::Vector< Attachment > & GetAttachments() const
Definition: ContainerInstance.h:941
Aws::ECS::Model::ContainerInstance::SetCapacityProviderName
void SetCapacityProviderName(Aws::String &&value)
Definition: ContainerInstance.h:206
Aws::ECS::Model::ContainerInstance::SetContainerInstanceArn
void SetContainerInstanceArn(const char *value)
Definition: ContainerInstance.h:98