AWS SDK for C++  1.9.175
AWS SDK for C++
DescribeApplicationsResult.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<ApplicationDescription>& GetApplications() const{ return m_applications; }
47 
51  inline void SetApplications(const Aws::Vector<ApplicationDescription>& value) { m_applications = value; }
52 
56  inline void SetApplications(Aws::Vector<ApplicationDescription>&& value) { m_applications = std::move(value); }
57 
61  inline DescribeApplicationsResult& WithApplications(const Aws::Vector<ApplicationDescription>& value) { SetApplications(value); return *this;}
62 
66  inline DescribeApplicationsResult& WithApplications(Aws::Vector<ApplicationDescription>&& value) { SetApplications(std::move(value)); return *this;}
67 
71  inline DescribeApplicationsResult& AddApplications(const ApplicationDescription& value) { m_applications.push_back(value); return *this; }
72 
76  inline DescribeApplicationsResult& AddApplications(ApplicationDescription&& value) { m_applications.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 DescribeApplicationsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline DescribeApplicationsResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticBeanstalk::Model::ApplicationDescription
Definition: ApplicationDescription.h:35
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::GetApplications
const Aws::Vector< ApplicationDescription > & GetApplications() const
Definition: DescribeApplicationsResult.h:46
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeApplicationsResult.h:80
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::SetApplications
void SetApplications(Aws::Vector< ApplicationDescription > &&value)
Definition: DescribeApplicationsResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::WithResponseMetadata
DescribeApplicationsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeApplicationsResult.h:89
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::DescribeApplicationsResult
DescribeApplicationsResult()
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::WithApplications
DescribeApplicationsResult & WithApplications(const Aws::Vector< ApplicationDescription > &value)
Definition: DescribeApplicationsResult.h:61
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::WithApplications
DescribeApplicationsResult & WithApplications(Aws::Vector< ApplicationDescription > &&value)
Definition: DescribeApplicationsResult.h:66
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::AddApplications
DescribeApplicationsResult & AddApplications(ApplicationDescription &&value)
Definition: DescribeApplicationsResult.h:76
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeApplicationsResult.h:86
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult
Definition: DescribeApplicationsResult.h:36
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::AddApplications
DescribeApplicationsResult & AddApplications(const ApplicationDescription &value)
Definition: DescribeApplicationsResult.h:71
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::DescribeApplicationsResult
DescribeApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::WithResponseMetadata
DescribeApplicationsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeApplicationsResult.h:92
ElasticBeanstalk_EXPORTS.h
ApplicationDescription.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::operator=
DescribeApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeApplicationsResult.h:83
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::DescribeApplicationsResult::SetApplications
void SetApplications(const Aws::Vector< ApplicationDescription > &value)
Definition: DescribeApplicationsResult.h:51