AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
RetrieveEnvironmentInfoResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
9#include <aws/elasticbeanstalk/model/EnvironmentInfoDescription.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 {
32 public:
33 AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult() = default;
35 AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult& operator=(
37
39
42 inline const Aws::Vector<EnvironmentInfoDescription>& GetEnvironmentInfo() const { return m_environmentInfo; }
43 template <typename EnvironmentInfoT = Aws::Vector<EnvironmentInfoDescription>>
44 void SetEnvironmentInfo(EnvironmentInfoT&& value) {
45 m_environmentInfoHasBeenSet = true;
46 m_environmentInfo = std::forward<EnvironmentInfoT>(value);
47 }
48 template <typename EnvironmentInfoT = Aws::Vector<EnvironmentInfoDescription>>
50 SetEnvironmentInfo(std::forward<EnvironmentInfoT>(value));
51 return *this;
52 }
53 template <typename EnvironmentInfoT = EnvironmentInfoDescription>
55 m_environmentInfoHasBeenSet = true;
56 m_environmentInfo.emplace_back(std::forward<EnvironmentInfoT>(value));
57 return *this;
58 }
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
64 template <typename ResponseMetadataT = ResponseMetadata>
65 void SetResponseMetadata(ResponseMetadataT&& value) {
66 m_responseMetadataHasBeenSet = true;
67 m_responseMetadata = std::forward<ResponseMetadataT>(value);
68 }
69 template <typename ResponseMetadataT = ResponseMetadata>
71 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
72 return *this;
73 }
75 private:
77
78 ResponseMetadata m_responseMetadata;
79 bool m_environmentInfoHasBeenSet = false;
80 bool m_responseMetadataHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ElasticBeanstalk
85} // namespace Aws
AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RetrieveEnvironmentInfoResult & WithEnvironmentInfo(EnvironmentInfoT &&value)
AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API RetrieveEnvironmentInfoResult()=default
RetrieveEnvironmentInfoResult & AddEnvironmentInfo(EnvironmentInfoT &&value)
const Aws::Vector< EnvironmentInfoDescription > & GetEnvironmentInfo() const
RetrieveEnvironmentInfoResult & WithResponseMetadata(ResponseMetadataT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument