AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableFastLaunchResponse.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
46 inline const Aws::String& GetImageId() const{ return m_imageId; }
47 inline void SetImageId(const Aws::String& value) { m_imageId = value; }
48 inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
49 inline void SetImageId(const char* value) { m_imageId.assign(value); }
50 inline EnableFastLaunchResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
51 inline EnableFastLaunchResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
52 inline EnableFastLaunchResponse& WithImageId(const char* value) { SetImageId(value); return *this;}
54
56
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 EnableFastLaunchResponse& WithResourceType(FastLaunchResourceType&& value) { SetResourceType(std::move(value)); return *this;}
66
68
73 inline const FastLaunchSnapshotConfigurationResponse& GetSnapshotConfiguration() const{ return m_snapshotConfiguration; }
74 inline void SetSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse& value) { m_snapshotConfiguration = value; }
75 inline void SetSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse&& value) { m_snapshotConfiguration = std::move(value); }
79
81
85 inline const FastLaunchLaunchTemplateSpecificationResponse& GetLaunchTemplate() const{ return m_launchTemplate; }
86 inline void SetLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse& value) { m_launchTemplate = value; }
87 inline void SetLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse&& value) { m_launchTemplate = std::move(value); }
91
93
97 inline int GetMaxParallelLaunches() const{ return m_maxParallelLaunches; }
98 inline void SetMaxParallelLaunches(int value) { m_maxParallelLaunches = value; }
101
103
106 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
107 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
108 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
109 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
110 inline EnableFastLaunchResponse& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
111 inline EnableFastLaunchResponse& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
112 inline EnableFastLaunchResponse& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
114
116
119 inline const FastLaunchStateCode& GetState() const{ return m_state; }
120 inline void SetState(const FastLaunchStateCode& value) { m_state = value; }
121 inline void SetState(FastLaunchStateCode&& value) { m_state = std::move(value); }
122 inline EnableFastLaunchResponse& WithState(const FastLaunchStateCode& value) { SetState(value); return *this;}
123 inline EnableFastLaunchResponse& WithState(FastLaunchStateCode&& value) { SetState(std::move(value)); return *this;}
125
127
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 EnableFastLaunchResponse& WithStateTransitionReason(const char* value) { SetStateTransitionReason(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetStateTransitionTime() const{ return m_stateTransitionTime; }
144 inline void SetStateTransitionTime(const Aws::Utils::DateTime& value) { m_stateTransitionTime = value; }
145 inline void SetStateTransitionTime(Aws::Utils::DateTime&& value) { m_stateTransitionTime = std::move(value); }
149
151
152 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
153 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
154 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
156 inline EnableFastLaunchResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
158 private:
159
160 Aws::String m_imageId;
161
162 FastLaunchResourceType m_resourceType;
163
164 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
165
167
168 int m_maxParallelLaunches;
169
170 Aws::String m_ownerId;
171
172 FastLaunchStateCode m_state;
173
174 Aws::String m_stateTransitionReason;
175
176 Aws::Utils::DateTime m_stateTransitionTime;
177
178 ResponseMetadata m_responseMetadata;
179 };
180
181} // namespace Model
182} // namespace EC2
183} // namespace Aws
void SetStateTransitionReason(const Aws::String &value)
EnableFastLaunchResponse & WithSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse &value)
const FastLaunchSnapshotConfigurationResponse & GetSnapshotConfiguration() const
EnableFastLaunchResponse & WithImageId(Aws::String &&value)
void SetLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse &value)
void SetResourceType(const FastLaunchResourceType &value)
EnableFastLaunchResponse & WithState(FastLaunchStateCode &&value)
EnableFastLaunchResponse & WithStateTransitionReason(const Aws::String &value)
const Aws::Utils::DateTime & GetStateTransitionTime() const
EnableFastLaunchResponse & WithResourceType(FastLaunchResourceType &&value)
void SetResourceType(FastLaunchResourceType &&value)
EnableFastLaunchResponse & WithImageId(const char *value)
void SetStateTransitionTime(Aws::Utils::DateTime &&value)
void SetLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse &&value)
EnableFastLaunchResponse & WithMaxParallelLaunches(int value)
void SetStateTransitionTime(const Aws::Utils::DateTime &value)
const FastLaunchStateCode & GetState() const
EnableFastLaunchResponse & WithStateTransitionReason(const char *value)
void SetSnapshotConfiguration(const FastLaunchSnapshotConfigurationResponse &value)
EnableFastLaunchResponse & WithResponseMetadata(ResponseMetadata &&value)
EnableFastLaunchResponse & WithLaunchTemplate(const FastLaunchLaunchTemplateSpecificationResponse &value)
AWS_EC2_API EnableFastLaunchResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
EnableFastLaunchResponse & WithOwnerId(const Aws::String &value)
EnableFastLaunchResponse & WithStateTransitionReason(Aws::String &&value)
EnableFastLaunchResponse & WithStateTransitionTime(Aws::Utils::DateTime &&value)
void SetResponseMetadata(const ResponseMetadata &value)
EnableFastLaunchResponse & WithOwnerId(const char *value)
EnableFastLaunchResponse & WithSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse &&value)
EnableFastLaunchResponse & WithResourceType(const FastLaunchResourceType &value)
const FastLaunchResourceType & GetResourceType() const
EnableFastLaunchResponse & WithImageId(const Aws::String &value)
EnableFastLaunchResponse & WithOwnerId(Aws::String &&value)
EnableFastLaunchResponse & WithLaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse &&value)
AWS_EC2_API EnableFastLaunchResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSnapshotConfiguration(FastLaunchSnapshotConfigurationResponse &&value)
EnableFastLaunchResponse & WithStateTransitionTime(const Aws::Utils::DateTime &value)
EnableFastLaunchResponse & WithResponseMetadata(const ResponseMetadata &value)
EnableFastLaunchResponse & WithState(const FastLaunchStateCode &value)
const FastLaunchLaunchTemplateSpecificationResponse & GetLaunchTemplate() const
void SetState(const FastLaunchStateCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument