AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLaunchTemplateResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/LaunchTemplate.h>
9#include <aws/ec2/model/ValidationWarning.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const LaunchTemplate& GetLaunchTemplate() const{ return m_launchTemplate; }
42 inline void SetLaunchTemplate(const LaunchTemplate& value) { m_launchTemplate = value; }
43 inline void SetLaunchTemplate(LaunchTemplate&& value) { m_launchTemplate = std::move(value); }
45 inline CreateLaunchTemplateResponse& WithLaunchTemplate(LaunchTemplate&& value) { SetLaunchTemplate(std::move(value)); return *this;}
47
49
54 inline const ValidationWarning& GetWarning() const{ return m_warning; }
55 inline void SetWarning(const ValidationWarning& value) { m_warning = value; }
56 inline void SetWarning(ValidationWarning&& value) { m_warning = std::move(value); }
57 inline CreateLaunchTemplateResponse& WithWarning(const ValidationWarning& value) { SetWarning(value); return *this;}
58 inline CreateLaunchTemplateResponse& WithWarning(ValidationWarning&& value) { SetWarning(std::move(value)); return *this;}
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
69 private:
70
71 LaunchTemplate m_launchTemplate;
72
73 ValidationWarning m_warning;
74
75 ResponseMetadata m_responseMetadata;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
CreateLaunchTemplateResponse & WithResponseMetadata(ResponseMetadata &&value)
CreateLaunchTemplateResponse & WithLaunchTemplate(const LaunchTemplate &value)
void SetResponseMetadata(const ResponseMetadata &value)
CreateLaunchTemplateResponse & WithLaunchTemplate(LaunchTemplate &&value)
AWS_EC2_API CreateLaunchTemplateResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateLaunchTemplateResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateLaunchTemplateResponse & WithWarning(ValidationWarning &&value)
AWS_EC2_API CreateLaunchTemplateResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateLaunchTemplateResponse & WithWarning(const ValidationWarning &value)
Aws::Utils::Xml::XmlDocument XmlDocument