AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListStreamsResult.h
1
6#pragma once
7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodbstreams/model/Stream.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDBStreams
26{
27namespace Model
28{
36 {
37 public:
38 AWS_DYNAMODBSTREAMS_API ListStreamsResult();
41
42
44
48 inline const Aws::Vector<Stream>& GetStreams() const{ return m_streams; }
49 inline void SetStreams(const Aws::Vector<Stream>& value) { m_streams = value; }
50 inline void SetStreams(Aws::Vector<Stream>&& value) { m_streams = std::move(value); }
51 inline ListStreamsResult& WithStreams(const Aws::Vector<Stream>& value) { SetStreams(value); return *this;}
52 inline ListStreamsResult& WithStreams(Aws::Vector<Stream>&& value) { SetStreams(std::move(value)); return *this;}
53 inline ListStreamsResult& AddStreams(const Stream& value) { m_streams.push_back(value); return *this; }
54 inline ListStreamsResult& AddStreams(Stream&& value) { m_streams.push_back(std::move(value)); return *this; }
56
58
68 inline const Aws::String& GetLastEvaluatedStreamArn() const{ return m_lastEvaluatedStreamArn; }
69 inline void SetLastEvaluatedStreamArn(const Aws::String& value) { m_lastEvaluatedStreamArn = value; }
70 inline void SetLastEvaluatedStreamArn(Aws::String&& value) { m_lastEvaluatedStreamArn = std::move(value); }
71 inline void SetLastEvaluatedStreamArn(const char* value) { m_lastEvaluatedStreamArn.assign(value); }
73 inline ListStreamsResult& WithLastEvaluatedStreamArn(Aws::String&& value) { SetLastEvaluatedStreamArn(std::move(value)); return *this;}
74 inline ListStreamsResult& WithLastEvaluatedStreamArn(const char* value) { SetLastEvaluatedStreamArn(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline ListStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline ListStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline ListStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::Vector<Stream> m_streams;
90
91 Aws::String m_lastEvaluatedStreamArn;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace DynamoDBStreams
98} // namespace Aws
ListStreamsResult & WithStreams(Aws::Vector< Stream > &&value)
ListStreamsResult & AddStreams(const Stream &value)
ListStreamsResult & WithRequestId(const Aws::String &value)
ListStreamsResult & WithStreams(const Aws::Vector< Stream > &value)
ListStreamsResult & WithLastEvaluatedStreamArn(Aws::String &&value)
AWS_DYNAMODBSTREAMS_API ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStreams(const Aws::Vector< Stream > &value)
const Aws::String & GetLastEvaluatedStreamArn() const
ListStreamsResult & WithLastEvaluatedStreamArn(const Aws::String &value)
ListStreamsResult & AddStreams(Stream &&value)
ListStreamsResult & WithRequestId(const char *value)
void SetLastEvaluatedStreamArn(const Aws::String &value)
AWS_DYNAMODBSTREAMS_API ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListStreamsResult & WithLastEvaluatedStreamArn(const char *value)
void SetStreams(Aws::Vector< Stream > &&value)
const Aws::Vector< Stream > & GetStreams() const
ListStreamsResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue