AWS SDK for C++  1.9.105
AWS SDK for C++
ListStreamsResult.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 Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DynamoDBStreams
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<Stream>& GetStreams() const{ return m_streams; }
48 
53  inline void SetStreams(const Aws::Vector<Stream>& value) { m_streams = value; }
54 
59  inline void SetStreams(Aws::Vector<Stream>&& value) { m_streams = std::move(value); }
60 
65  inline ListStreamsResult& WithStreams(const Aws::Vector<Stream>& value) { SetStreams(value); return *this;}
66 
71  inline ListStreamsResult& WithStreams(Aws::Vector<Stream>&& value) { SetStreams(std::move(value)); return *this;}
72 
77  inline ListStreamsResult& AddStreams(const Stream& value) { m_streams.push_back(value); return *this; }
78 
83  inline ListStreamsResult& AddStreams(Stream&& value) { m_streams.push_back(std::move(value)); return *this; }
84 
85 
96  inline const Aws::String& GetLastEvaluatedStreamArn() const{ return m_lastEvaluatedStreamArn; }
97 
108  inline void SetLastEvaluatedStreamArn(const Aws::String& value) { m_lastEvaluatedStreamArn = value; }
109 
120  inline void SetLastEvaluatedStreamArn(Aws::String&& value) { m_lastEvaluatedStreamArn = std::move(value); }
121 
132  inline void SetLastEvaluatedStreamArn(const char* value) { m_lastEvaluatedStreamArn.assign(value); }
133 
144  inline ListStreamsResult& WithLastEvaluatedStreamArn(const Aws::String& value) { SetLastEvaluatedStreamArn(value); return *this;}
145 
156  inline ListStreamsResult& WithLastEvaluatedStreamArn(Aws::String&& value) { SetLastEvaluatedStreamArn(std::move(value)); return *this;}
157 
168  inline ListStreamsResult& WithLastEvaluatedStreamArn(const char* value) { SetLastEvaluatedStreamArn(value); return *this;}
169 
170  private:
171 
172  Aws::Vector<Stream> m_streams;
173 
174  Aws::String m_lastEvaluatedStreamArn;
175  };
176 
177 } // namespace Model
178 } // namespace DynamoDBStreams
179 } // namespace Aws
Stream.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DynamoDBStreams::Model::ListStreamsResult::AddStreams
ListStreamsResult & AddStreams(const Stream &value)
Definition: ListStreamsResult.h:77
Aws::DynamoDBStreams::Model::ListStreamsResult::GetLastEvaluatedStreamArn
const Aws::String & GetLastEvaluatedStreamArn() const
Definition: ListStreamsResult.h:96
Aws::DynamoDBStreams::Model::ListStreamsResult::WithLastEvaluatedStreamArn
ListStreamsResult & WithLastEvaluatedStreamArn(const Aws::String &value)
Definition: ListStreamsResult.h:144
Aws::DynamoDBStreams::Model::ListStreamsResult::operator=
ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DynamoDBStreams_EXPORTS.h
Aws::DynamoDBStreams::Model::ListStreamsResult::WithLastEvaluatedStreamArn
ListStreamsResult & WithLastEvaluatedStreamArn(const char *value)
Definition: ListStreamsResult.h:168
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DynamoDBStreams::Model::ListStreamsResult::SetStreams
void SetStreams(const Aws::Vector< Stream > &value)
Definition: ListStreamsResult.h:53
AWSVector.h
AWS_DYNAMODBSTREAMS_API
#define AWS_DYNAMODBSTREAMS_API
Definition: DynamoDBStreams_EXPORTS.h:28
Aws::DynamoDBStreams::Model::ListStreamsResult::SetStreams
void SetStreams(Aws::Vector< Stream > &&value)
Definition: ListStreamsResult.h:59
Aws::DynamoDBStreams::Model::ListStreamsResult::WithStreams
ListStreamsResult & WithStreams(const Aws::Vector< Stream > &value)
Definition: ListStreamsResult.h:65
Aws::DynamoDBStreams::Model::ListStreamsResult
Definition: ListStreamsResult.h:36
Aws::DynamoDBStreams::Model::ListStreamsResult::GetStreams
const Aws::Vector< Stream > & GetStreams() const
Definition: ListStreamsResult.h:47
Aws::DynamoDBStreams::Model::ListStreamsResult::SetLastEvaluatedStreamArn
void SetLastEvaluatedStreamArn(const char *value)
Definition: ListStreamsResult.h:132
AWSString.h
Aws::DynamoDBStreams::Model::ListStreamsResult::SetLastEvaluatedStreamArn
void SetLastEvaluatedStreamArn(Aws::String &&value)
Definition: ListStreamsResult.h:120
Aws::DynamoDBStreams::Model::ListStreamsResult::WithStreams
ListStreamsResult & WithStreams(Aws::Vector< Stream > &&value)
Definition: ListStreamsResult.h:71
Aws::DynamoDBStreams::Model::ListStreamsResult::WithLastEvaluatedStreamArn
ListStreamsResult & WithLastEvaluatedStreamArn(Aws::String &&value)
Definition: ListStreamsResult.h:156
Aws::DynamoDBStreams::Model::ListStreamsResult::AddStreams
ListStreamsResult & AddStreams(Stream &&value)
Definition: ListStreamsResult.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::DynamoDBStreams::Model::ListStreamsResult::ListStreamsResult
ListStreamsResult()
Aws::DynamoDBStreams::Model::Stream
Definition: Stream.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DynamoDBStreams::Model::ListStreamsResult::ListStreamsResult
ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DynamoDBStreams::Model::ListStreamsResult::SetLastEvaluatedStreamArn
void SetLastEvaluatedStreamArn(const Aws::String &value)
Definition: ListStreamsResult.h:108