AWS SDK for C++  1.9.175
AWS SDK for C++
RetrieveEnvironmentInfoResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace ElasticBeanstalk
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<EnvironmentInfoDescription>& GetEnvironmentInfo() const{ return m_environmentInfo; }
47 
51  inline void SetEnvironmentInfo(const Aws::Vector<EnvironmentInfoDescription>& value) { m_environmentInfo = value; }
52 
56  inline void SetEnvironmentInfo(Aws::Vector<EnvironmentInfoDescription>&& value) { m_environmentInfo = std::move(value); }
57 
61  inline RetrieveEnvironmentInfoResult& WithEnvironmentInfo(const Aws::Vector<EnvironmentInfoDescription>& value) { SetEnvironmentInfo(value); return *this;}
62 
66  inline RetrieveEnvironmentInfoResult& WithEnvironmentInfo(Aws::Vector<EnvironmentInfoDescription>&& value) { SetEnvironmentInfo(std::move(value)); return *this;}
67 
71  inline RetrieveEnvironmentInfoResult& AddEnvironmentInfo(const EnvironmentInfoDescription& value) { m_environmentInfo.push_back(value); return *this; }
72 
76  inline RetrieveEnvironmentInfoResult& AddEnvironmentInfo(EnvironmentInfoDescription&& value) { m_environmentInfo.push_back(std::move(value)); return *this; }
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline RetrieveEnvironmentInfoResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline RetrieveEnvironmentInfoResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace ElasticBeanstalk
103 } // namespace Aws
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::WithEnvironmentInfo
RetrieveEnvironmentInfoResult & WithEnvironmentInfo(Aws::Vector< EnvironmentInfoDescription > &&value)
Definition: RetrieveEnvironmentInfoResult.h:66
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::AddEnvironmentInfo
RetrieveEnvironmentInfoResult & AddEnvironmentInfo(const EnvironmentInfoDescription &value)
Definition: RetrieveEnvironmentInfoResult.h:71
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::WithResponseMetadata
RetrieveEnvironmentInfoResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: RetrieveEnvironmentInfoResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::AddEnvironmentInfo
RetrieveEnvironmentInfoResult & AddEnvironmentInfo(EnvironmentInfoDescription &&value)
Definition: RetrieveEnvironmentInfoResult.h:76
EnvironmentInfoDescription.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RetrieveEnvironmentInfoResult.h:80
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::SetEnvironmentInfo
void SetEnvironmentInfo(const Aws::Vector< EnvironmentInfoDescription > &value)
Definition: RetrieveEnvironmentInfoResult.h:51
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::WithResponseMetadata
RetrieveEnvironmentInfoResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: RetrieveEnvironmentInfoResult.h:89
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RetrieveEnvironmentInfoResult.h:83
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::SetEnvironmentInfo
void SetEnvironmentInfo(Aws::Vector< EnvironmentInfoDescription > &&value)
Definition: RetrieveEnvironmentInfoResult.h:56
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::operator=
RetrieveEnvironmentInfoResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult
Definition: RetrieveEnvironmentInfoResult.h:36
ResponseMetadata.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::GetEnvironmentInfo
const Aws::Vector< EnvironmentInfoDescription > & GetEnvironmentInfo() const
Definition: RetrieveEnvironmentInfoResult.h:46
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RetrieveEnvironmentInfoResult.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::WithEnvironmentInfo
RetrieveEnvironmentInfoResult & WithEnvironmentInfo(const Aws::Vector< EnvironmentInfoDescription > &value)
Definition: RetrieveEnvironmentInfoResult.h:61
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::RetrieveEnvironmentInfoResult
RetrieveEnvironmentInfoResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::RetrieveEnvironmentInfoResult::RetrieveEnvironmentInfoResult
RetrieveEnvironmentInfoResult()
Aws::ElasticBeanstalk::Model::EnvironmentInfoDescription
Definition: EnvironmentInfoDescription.h:35