AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateApplicationVersionResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/model/ApplicationVersionDescription.h>
9#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticBeanstalk {
23namespace Model {
31 public:
32 AWS_ELASTICBEANSTALK_API CreateApplicationVersionResult() = default;
34 AWS_ELASTICBEANSTALK_API CreateApplicationVersionResult& operator=(
36
38
41 inline const ApplicationVersionDescription& GetApplicationVersion() const { return m_applicationVersion; }
42 template <typename ApplicationVersionT = ApplicationVersionDescription>
43 void SetApplicationVersion(ApplicationVersionT&& value) {
44 m_applicationVersionHasBeenSet = true;
45 m_applicationVersion = std::forward<ApplicationVersionT>(value);
46 }
47 template <typename ApplicationVersionT = ApplicationVersionDescription>
49 SetApplicationVersion(std::forward<ApplicationVersionT>(value));
50 return *this;
51 }
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 private:
69 ApplicationVersionDescription m_applicationVersion;
70
71 ResponseMetadata m_responseMetadata;
72 bool m_applicationVersionHasBeenSet = false;
73 bool m_responseMetadataHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ElasticBeanstalk
78} // namespace Aws
CreateApplicationVersionResult & WithApplicationVersion(ApplicationVersionT &&value)
AWS_ELASTICBEANSTALK_API CreateApplicationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API CreateApplicationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateApplicationVersionResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICBEANSTALK_API CreateApplicationVersionResult()=default
Aws::Utils::Xml::XmlDocument XmlDocument