AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableFastLaunchResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/FastLaunchResourceType.h>
10#include <aws/ec2/model/FastLaunchSnapshotConfigurationResponse.h>
11#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationResponse.h>
12#include <aws/ec2/model/FastLaunchStateCode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ec2/model/ResponseMetadata.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetImageId() const{ return m_imageId; }
46 inline void SetImageId(const Aws::String& value) { m_imageId = value; }
47 inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
48 inline void SetImageId(const char* value) { m_imageId.assign(value); }
49 inline DisableFastLaunchResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
50 inline DisableFastLaunchResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
51 inline DisableFastLaunchResponse& WithImageId(const char* value) { SetImageId(value); return *this;}
53
55
60 inline const FastLaunchResourceType& GetResourceType() const{ return m_resourceType; }
61 inline void SetResourceType(const FastLaunchResourceType& value) { m_resourceType = value; }
62 inline void SetResourceType(FastLaunchResourceType&& value) { m_resourceType = std::move(value); }
64 inline DisableFastLaunchResponse& WithResourceType(FastLaunchResourceType&& value) { SetResourceType(std::move(value)); return *this;}
66
68
72 inline const FastLaunchSnapshotConfigurationResponse& GetSnapshotConfiguration() const{ return m_snapshotConfiguration; }
73 inline void SetSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse& value) { m_snapshotConfiguration = value; }
74 inline void SetSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse&& value) { m_snapshotConfiguration = std::move(value); }
78
80
84 inline const FastLaunchLaunchTemplateSpecificationResponse& GetLaunchTemplate() const{ return m_launchTemplate; }
85 inline void SetLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse& value) { m_launchTemplate = value; }
86 inline void SetLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse&& value) { m_launchTemplate = std::move(value); }
90
92
96 inline int GetMaxParallelLaunches() const{ return m_maxParallelLaunches; }
97 inline void SetMaxParallelLaunches(int value) { m_maxParallelLaunches = value; }
100
102
105 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
106 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
107 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
108 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
109 inline DisableFastLaunchResponse& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
110 inline DisableFastLaunchResponse& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
111 inline DisableFastLaunchResponse& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
113
115
118 inline const FastLaunchStateCode& GetState() const{ return m_state; }
119 inline void SetState(const FastLaunchStateCode& value) { m_state = value; }
120 inline void SetState(FastLaunchStateCode&& value) { m_state = std::move(value); }
121 inline DisableFastLaunchResponse& WithState(const FastLaunchStateCode& value) { SetState(value); return *this;}
122 inline DisableFastLaunchResponse& WithState(FastLaunchStateCode&& value) { SetState(std::move(value)); return *this;}
124
126
130 inline const Aws::String& GetStateTransitionReason() const{ return m_stateTransitionReason; }
131 inline void SetStateTransitionReason(const Aws::String& value) { m_stateTransitionReason = value; }
132 inline void SetStateTransitionReason(Aws::String&& value) { m_stateTransitionReason = std::move(value); }
133 inline void SetStateTransitionReason(const char* value) { m_stateTransitionReason.assign(value); }
136 inline DisableFastLaunchResponse& WithStateTransitionReason(const char* value) { SetStateTransitionReason(value); return *this;}
138
140
144 inline const Aws::Utils::DateTime& GetStateTransitionTime() const{ return m_stateTransitionTime; }
145 inline void SetStateTransitionTime(const Aws::Utils::DateTime& value) { m_stateTransitionTime = value; }
146 inline void SetStateTransitionTime(Aws::Utils::DateTime&& value) { m_stateTransitionTime = std::move(value); }
150
152
153 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
154 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
155 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
157 inline DisableFastLaunchResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_imageId;
162
163 FastLaunchResourceType m_resourceType;
164
165 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
166
168
169 int m_maxParallelLaunches;
170
171 Aws::String m_ownerId;
172
173 FastLaunchStateCode m_state;
174
175 Aws::String m_stateTransitionReason;
176
177 Aws::Utils::DateTime m_stateTransitionTime;
178
179 ResponseMetadata m_responseMetadata;
180 };
181
182} // namespace Model
183} // namespace EC2
184} // namespace Aws
const FastLaunchResourceType & GetResourceType() const
DisableFastLaunchResponse & WithStateTransitionTime(const Aws::Utils::DateTime &value)
DisableFastLaunchResponse & WithState(FastLaunchStateCode &&value)
void SetState(const FastLaunchStateCode &value)
DisableFastLaunchResponse & WithLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse &&value)
DisableFastLaunchResponse & WithOwnerId(Aws::String &&value)
DisableFastLaunchResponse & WithOwnerId(const Aws::String &value)
void SetStateTransitionTime(Aws::Utils::DateTime &&value)
void SetLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse &&value)
DisableFastLaunchResponse & WithImageId(const char *value)
DisableFastLaunchResponse & WithMaxParallelLaunches(int value)
void SetStateTransitionTime(const Aws::Utils::DateTime &value)
DisableFastLaunchResponse & WithImageId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse &value)
const FastLaunchSnapshotConfigurationResponse & GetSnapshotConfiguration() const
AWS_EC2_API DisableFastLaunchResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DisableFastLaunchResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisableFastLaunchResponse & WithSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse &value)
void SetLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse &value)
DisableFastLaunchResponse & WithResponseMetadata(const ResponseMetadata &value)
DisableFastLaunchResponse & WithResponseMetadata(ResponseMetadata &&value)
DisableFastLaunchResponse & WithSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse &&value)
DisableFastLaunchResponse & WithStateTransitionReason(Aws::String &&value)
DisableFastLaunchResponse & WithStateTransitionTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStateTransitionTime() const
DisableFastLaunchResponse & WithOwnerId(const char *value)
DisableFastLaunchResponse & WithResourceType(const FastLaunchResourceType &value)
void SetSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse &&value)
DisableFastLaunchResponse & WithState(const FastLaunchStateCode &value)
DisableFastLaunchResponse & WithImageId(Aws::String &&value)
const FastLaunchLaunchTemplateSpecificationResponse & GetLaunchTemplate() const
DisableFastLaunchResponse & WithLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse &value)
DisableFastLaunchResponse & WithResourceType(FastLaunchResourceType &&value)
void SetResourceType(const FastLaunchResourceType &value)
void SetStateTransitionReason(const Aws::String &value)
DisableFastLaunchResponse & WithStateTransitionReason(const Aws::String &value)
void SetResourceType(FastLaunchResourceType &&value)
DisableFastLaunchResponse & WithStateTransitionReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument