AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeApplicationVersionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ApplicationVersionDescription.h>
12#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk {
26namespace Model {
34 public:
35 AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult() = default;
39
41
45 inline const Aws::Vector<ApplicationVersionDescription>& GetApplicationVersions() const { return m_applicationVersions; }
46 template <typename ApplicationVersionsT = Aws::Vector<ApplicationVersionDescription>>
47 void SetApplicationVersions(ApplicationVersionsT&& value) {
48 m_applicationVersionsHasBeenSet = true;
49 m_applicationVersions = std::forward<ApplicationVersionsT>(value);
50 }
51 template <typename ApplicationVersionsT = Aws::Vector<ApplicationVersionDescription>>
53 SetApplicationVersions(std::forward<ApplicationVersionsT>(value));
54 return *this;
55 }
56 template <typename ApplicationVersionsT = ApplicationVersionDescription>
58 m_applicationVersionsHasBeenSet = true;
59 m_applicationVersions.emplace_back(std::forward<ApplicationVersionsT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
70 template <typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) {
72 m_nextTokenHasBeenSet = true;
73 m_nextToken = std::forward<NextTokenT>(value);
74 }
75 template <typename NextTokenT = Aws::String>
77 SetNextToken(std::forward<NextTokenT>(value));
78 return *this;
79 }
81
83
84 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
85 template <typename ResponseMetadataT = ResponseMetadata>
86 void SetResponseMetadata(ResponseMetadataT&& value) {
87 m_responseMetadataHasBeenSet = true;
88 m_responseMetadata = std::forward<ResponseMetadataT>(value);
89 }
90 template <typename ResponseMetadataT = ResponseMetadata>
92 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
100
101 Aws::String m_nextToken;
102
103 ResponseMetadata m_responseMetadata;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_applicationVersionsHasBeenSet = false;
106 bool m_nextTokenHasBeenSet = false;
107 bool m_responseMetadataHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ElasticBeanstalk
112} // namespace Aws
DescribeApplicationVersionsResult & WithApplicationVersions(ApplicationVersionsT &&value)
DescribeApplicationVersionsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeApplicationVersionsResult & WithNextToken(NextTokenT &&value)
AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ApplicationVersionDescription > & GetApplicationVersions() const
DescribeApplicationVersionsResult & AddApplicationVersions(ApplicationVersionsT &&value)
AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument