AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePlatformVersionResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/model/PlatformSummary.h>
9#include <aws/elasticbeanstalk/model/Builder.h>
10#include <aws/elasticbeanstalk/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 ElasticBeanstalk
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ELASTICBEANSTALK_API CreatePlatformVersionResult() = default;
35
36
38
41 inline const PlatformSummary& GetPlatformSummary() const { return m_platformSummary; }
42 template<typename PlatformSummaryT = PlatformSummary>
43 void SetPlatformSummary(PlatformSummaryT&& value) { m_platformSummaryHasBeenSet = true; m_platformSummary = std::forward<PlatformSummaryT>(value); }
44 template<typename PlatformSummaryT = PlatformSummary>
45 CreatePlatformVersionResult& WithPlatformSummary(PlatformSummaryT&& value) { SetPlatformSummary(std::forward<PlatformSummaryT>(value)); return *this;}
47
49
52 inline const Builder& GetBuilder() const { return m_builder; }
53 template<typename BuilderT = Builder>
54 void SetBuilder(BuilderT&& value) { m_builderHasBeenSet = true; m_builder = std::forward<BuilderT>(value); }
55 template<typename BuilderT = Builder>
56 CreatePlatformVersionResult& WithBuilder(BuilderT&& value) { SetBuilder(std::forward<BuilderT>(value)); return *this;}
58
60
61 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
62 template<typename ResponseMetadataT = ResponseMetadata>
63 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
64 template<typename ResponseMetadataT = ResponseMetadata>
65 CreatePlatformVersionResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
67 private:
68
69 PlatformSummary m_platformSummary;
70 bool m_platformSummaryHasBeenSet = false;
71
72 Builder m_builder;
73 bool m_builderHasBeenSet = false;
74
75 ResponseMetadata m_responseMetadata;
76 bool m_responseMetadataHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ElasticBeanstalk
81} // 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