AWS SDK for C++  1.9.175
AWS SDK for C++
DescribeEventsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace ElasticBeanstalk
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<EventDescription>& GetEvents() const{ return m_events; }
48 
52  inline void SetEvents(const Aws::Vector<EventDescription>& value) { m_events = value; }
53 
57  inline void SetEvents(Aws::Vector<EventDescription>&& value) { m_events = std::move(value); }
58 
62  inline DescribeEventsResult& WithEvents(const Aws::Vector<EventDescription>& value) { SetEvents(value); return *this;}
63 
67  inline DescribeEventsResult& WithEvents(Aws::Vector<EventDescription>&& value) { SetEvents(std::move(value)); return *this;}
68 
72  inline DescribeEventsResult& AddEvents(const EventDescription& value) { m_events.push_back(value); return *this; }
73 
77  inline DescribeEventsResult& AddEvents(EventDescription&& value) { m_events.push_back(std::move(value)); return *this; }
78 
79 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
99  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 
106  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 
113  inline DescribeEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
120  inline DescribeEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
127  inline DescribeEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129 
130 
131  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 
133 
134  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
135 
136 
137  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
138 
139 
140  inline DescribeEventsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline DescribeEventsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
144 
145  private:
146 
148 
149  Aws::String m_nextToken;
150 
151  ResponseMetadata m_responseMetadata;
152  };
153 
154 } // namespace Model
155 } // namespace ElasticBeanstalk
156 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:134
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventsResult.h:140
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithNextToken
DescribeEventsResult & WithNextToken(Aws::String &&value)
Definition: DescribeEventsResult.h:120
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetEvents
void SetEvents(Aws::Vector< EventDescription > &&value)
Definition: DescribeEventsResult.h:57
Aws::ElasticBeanstalk::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult()
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeEventsResult.h:99
EventDescription.h
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeEventsResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticBeanstalk::Model::DescribeEventsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeEventsResult.h:85
AWSVector.h
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithNextToken
DescribeEventsResult & WithNextToken(const char *value)
Definition: DescribeEventsResult.h:127
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetEvents
void SetEvents(const Aws::Vector< EventDescription > &value)
Definition: DescribeEventsResult.h:52
Aws::ElasticBeanstalk::Model::EventDescription
Definition: EventDescription.h:34
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(Aws::Vector< EventDescription > &&value)
Definition: DescribeEventsResult.h:67
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithEvents
DescribeEventsResult & WithEvents(const Aws::Vector< EventDescription > &value)
Definition: DescribeEventsResult.h:62
Aws::ElasticBeanstalk::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(const EventDescription &value)
Definition: DescribeEventsResult.h:72
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeEventsResult.h:106
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithResponseMetadata
DescribeEventsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:143
AWSString.h
Aws::ElasticBeanstalk::Model::DescribeEventsResult::operator=
DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::DescribeEventsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventsResult.h:137
Aws::ElasticBeanstalk::Model::DescribeEventsResult::DescribeEventsResult
DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::DescribeEventsResult::GetEvents
const Aws::Vector< EventDescription > & GetEvents() const
Definition: DescribeEventsResult.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::DescribeEventsResult
Definition: DescribeEventsResult.h:37
Aws::ElasticBeanstalk::Model::DescribeEventsResult::WithNextToken
DescribeEventsResult & WithNextToken(const Aws::String &value)
Definition: DescribeEventsResult.h:113
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::DescribeEventsResult::AddEvents
DescribeEventsResult & AddEvents(EventDescription &&value)
Definition: DescribeEventsResult.h:77
Aws::ElasticBeanstalk::Model::DescribeEventsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventsResult.h:131