AWS SDK for C++  1.9.74
AWS SDK for C++
CreateLaunchTemplateVersionResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const LaunchTemplateVersion& GetLaunchTemplateVersion() const{ return m_launchTemplateVersion; }
41 
45  inline void SetLaunchTemplateVersion(const LaunchTemplateVersion& value) { m_launchTemplateVersion = value; }
46 
50  inline void SetLaunchTemplateVersion(LaunchTemplateVersion&& value) { m_launchTemplateVersion = std::move(value); }
51 
55  inline CreateLaunchTemplateVersionResponse& WithLaunchTemplateVersion(const LaunchTemplateVersion& value) { SetLaunchTemplateVersion(value); return *this;}
56 
60  inline CreateLaunchTemplateVersionResponse& WithLaunchTemplateVersion(LaunchTemplateVersion&& value) { SetLaunchTemplateVersion(std::move(value)); return *this;}
61 
62 
68  inline const ValidationWarning& GetWarning() const{ return m_warning; }
69 
75  inline void SetWarning(const ValidationWarning& value) { m_warning = value; }
76 
82  inline void SetWarning(ValidationWarning&& value) { m_warning = std::move(value); }
83 
89  inline CreateLaunchTemplateVersionResponse& WithWarning(const ValidationWarning& value) { SetWarning(value); return *this;}
90 
96  inline CreateLaunchTemplateVersionResponse& WithWarning(ValidationWarning&& value) { SetWarning(std::move(value)); return *this;}
97 
98 
99 
100  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
101 
102 
103  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
104 
105 
106  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
107 
108 
109  inline CreateLaunchTemplateVersionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
110 
111 
112  inline CreateLaunchTemplateVersionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
113 
114  private:
115 
116  LaunchTemplateVersion m_launchTemplateVersion;
117 
118  ValidationWarning m_warning;
119 
120  ResponseMetadata m_responseMetadata;
121  };
122 
123 } // namespace Model
124 } // namespace EC2
125 } // namespace Aws
Aws::EC2::Model::ValidationWarning
Definition: ValidationWarning.h:35
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithLaunchTemplateVersion
CreateLaunchTemplateVersionResponse & WithLaunchTemplateVersion(LaunchTemplateVersion &&value)
Definition: CreateLaunchTemplateVersionResponse.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithWarning
CreateLaunchTemplateVersionResponse & WithWarning(ValidationWarning &&value)
Definition: CreateLaunchTemplateVersionResponse.h:96
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithResponseMetadata
CreateLaunchTemplateVersionResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateLaunchTemplateVersionResponse.h:109
ValidationWarning.h
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithResponseMetadata
CreateLaunchTemplateVersionResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateLaunchTemplateVersionResponse.h:112
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::CreateLaunchTemplateVersionResponse
CreateLaunchTemplateVersionResponse()
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithWarning
CreateLaunchTemplateVersionResponse & WithWarning(const ValidationWarning &value)
Definition: CreateLaunchTemplateVersionResponse.h:89
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateLaunchTemplateVersionResponse
Definition: CreateLaunchTemplateVersionResponse.h:30
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetLaunchTemplateVersion
void SetLaunchTemplateVersion(LaunchTemplateVersion &&value)
Definition: CreateLaunchTemplateVersionResponse.h:50
ResponseMetadata.h
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetWarning
void SetWarning(ValidationWarning &&value)
Definition: CreateLaunchTemplateVersionResponse.h:82
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetWarning
void SetWarning(const ValidationWarning &value)
Definition: CreateLaunchTemplateVersionResponse.h:75
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateLaunchTemplateVersionResponse.h:100
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::WithLaunchTemplateVersion
CreateLaunchTemplateVersionResponse & WithLaunchTemplateVersion(const LaunchTemplateVersion &value)
Definition: CreateLaunchTemplateVersionResponse.h:55
Aws::EC2::Model::LaunchTemplateVersion
Definition: LaunchTemplateVersion.h:34
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::CreateLaunchTemplateVersionResponse
CreateLaunchTemplateVersionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::GetWarning
const ValidationWarning & GetWarning() const
Definition: CreateLaunchTemplateVersionResponse.h:68
LaunchTemplateVersion.h
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateLaunchTemplateVersionResponse.h:106
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::operator=
CreateLaunchTemplateVersionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetLaunchTemplateVersion
void SetLaunchTemplateVersion(const LaunchTemplateVersion &value)
Definition: CreateLaunchTemplateVersionResponse.h:45
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::GetLaunchTemplateVersion
const LaunchTemplateVersion & GetLaunchTemplateVersion() const
Definition: CreateLaunchTemplateVersionResponse.h:40
EC2_EXPORTS.h
Aws::EC2::Model::CreateLaunchTemplateVersionResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateLaunchTemplateVersionResponse.h:103