AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreatePlatformVersionResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/model/Builder.h>
9#include <aws/elasticbeanstalk/model/PlatformSummary.h>
10#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk {
24namespace Model {
26 public:
27 AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult() = default;
30
32
35 inline const PlatformSummary& GetPlatformSummary() const { return m_platformSummary; }
36 template <typename PlatformSummaryT = PlatformSummary>
37 void SetPlatformSummary(PlatformSummaryT&& value) {
38 m_platformSummaryHasBeenSet = true;
39 m_platformSummary = std::forward<PlatformSummaryT>(value);
40 }
41 template <typename PlatformSummaryT = PlatformSummary>
43 SetPlatformSummary(std::forward<PlatformSummaryT>(value));
44 return *this;
45 }
47
49
52 inline const Builder& GetBuilder() const { return m_builder; }
53 template <typename BuilderT = Builder>
54 void SetBuilder(BuilderT&& value) {
55 m_builderHasBeenSet = true;
56 m_builder = std::forward<BuilderT>(value);
57 }
58 template <typename BuilderT = Builder>
60 SetBuilder(std::forward<BuilderT>(value));
61 return *this;
62 }
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
68 template <typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) {
70 m_responseMetadataHasBeenSet = true;
71 m_responseMetadata = std::forward<ResponseMetadataT>(value);
72 }
73 template <typename ResponseMetadataT = ResponseMetadata>
75 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
76 return *this;
77 }
79 private:
80 PlatformSummary m_platformSummary;
81
82 Builder m_builder;
83
84 ResponseMetadata m_responseMetadata;
85 bool m_platformSummaryHasBeenSet = false;
86 bool m_builderHasBeenSet = false;
87 bool m_responseMetadataHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ElasticBeanstalk
92} // namespace Aws
CreatePlatformVersionResult & WithBuilder(BuilderT &&value)
AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult()=default
CreatePlatformVersionResult & WithResponseMetadata(ResponseMetadataT &&value)
CreatePlatformVersionResult & WithPlatformSummary(PlatformSummaryT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument