AWS SDK for C++  1.9.176
AWS SDK for C++
CreateApplicationVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace ElasticBeanstalk
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const ApplicationVersionDescription& GetApplicationVersion() const{ return m_applicationVersion; }
46 
50  inline void SetApplicationVersion(const ApplicationVersionDescription& value) { m_applicationVersion = value; }
51 
55  inline void SetApplicationVersion(ApplicationVersionDescription&& value) { m_applicationVersion = std::move(value); }
56 
60  inline CreateApplicationVersionResult& WithApplicationVersion(const ApplicationVersionDescription& value) { SetApplicationVersion(value); return *this;}
61 
65  inline CreateApplicationVersionResult& WithApplicationVersion(ApplicationVersionDescription&& value) { SetApplicationVersion(std::move(value)); return *this;}
66 
67 
68 
69  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
70 
71 
72  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
73 
74 
75  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 
77 
78  inline CreateApplicationVersionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
79 
80 
81  inline CreateApplicationVersionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
82 
83  private:
84 
85  ApplicationVersionDescription m_applicationVersion;
86 
87  ResponseMetadata m_responseMetadata;
88  };
89 
90 } // namespace Model
91 } // namespace ElasticBeanstalk
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ApplicationVersionDescription.h
Aws::ElasticBeanstalk::Model::ApplicationVersionDescription
Definition: ApplicationVersionDescription.h:37
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::operator=
CreateApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::GetApplicationVersion
const ApplicationVersionDescription & GetApplicationVersion() const
Definition: CreateApplicationVersionResult.h:45
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult
Definition: CreateApplicationVersionResult.h:35
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateApplicationVersionResult.h:72
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateApplicationVersionResult.h:69
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::CreateApplicationVersionResult
CreateApplicationVersionResult()
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::SetApplicationVersion
void SetApplicationVersion(ApplicationVersionDescription &&value)
Definition: CreateApplicationVersionResult.h:55
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::WithResponseMetadata
CreateApplicationVersionResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateApplicationVersionResult.h:81
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateApplicationVersionResult.h:75
ResponseMetadata.h
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::WithApplicationVersion
CreateApplicationVersionResult & WithApplicationVersion(const ApplicationVersionDescription &value)
Definition: CreateApplicationVersionResult.h:60
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::WithApplicationVersion
CreateApplicationVersionResult & WithApplicationVersion(ApplicationVersionDescription &&value)
Definition: CreateApplicationVersionResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::CreateApplicationVersionResult
CreateApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::WithResponseMetadata
CreateApplicationVersionResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateApplicationVersionResult.h:78
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::CreateApplicationVersionResult::SetApplicationVersion
void SetApplicationVersion(const ApplicationVersionDescription &value)
Definition: CreateApplicationVersionResult.h:50