AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreatePlatformVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
9#include <aws/elasticbeanstalk/model/Builder.h>
10#include <aws/elasticbeanstalk/model/PlatformSummary.h>
11#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk {
25namespace Model {
27 public:
28 AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult() = default;
31
33
36 inline const PlatformSummary& GetPlatformSummary() const { return m_platformSummary; }
37 template <typename PlatformSummaryT = PlatformSummary>
38 void SetPlatformSummary(PlatformSummaryT&& value) {
39 m_platformSummaryHasBeenSet = true;
40 m_platformSummary = std::forward<PlatformSummaryT>(value);
41 }
42 template <typename PlatformSummaryT = PlatformSummary>
44 SetPlatformSummary(std::forward<PlatformSummaryT>(value));
45 return *this;
46 }
48
50
53 inline const Builder& GetBuilder() const { return m_builder; }
54 template <typename BuilderT = Builder>
55 void SetBuilder(BuilderT&& value) {
56 m_builderHasBeenSet = true;
57 m_builder = std::forward<BuilderT>(value);
58 }
59 template <typename BuilderT = Builder>
61 SetBuilder(std::forward<BuilderT>(value));
62 return *this;
63 }
65
67
68 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
69 template <typename ResponseMetadataT = ResponseMetadata>
70 void SetResponseMetadata(ResponseMetadataT&& value) {
71 m_responseMetadataHasBeenSet = true;
72 m_responseMetadata = std::forward<ResponseMetadataT>(value);
73 }
74 template <typename ResponseMetadataT = ResponseMetadata>
76 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 PlatformSummary m_platformSummary;
84
85 Builder m_builder;
86
87 ResponseMetadata m_responseMetadata;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_platformSummaryHasBeenSet = false;
90 bool m_builderHasBeenSet = false;
91 bool m_responseMetadataHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ElasticBeanstalk
96} // 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