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/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis/model/StreamSummary.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 Kinesis
26{
27namespace Model
28{
36 {
37 public:
38 AWS_KINESIS_API ListStreamsResult();
41
42
44
48 inline const Aws::Vector<Aws::String>& GetStreamNames() const{ return m_streamNames; }
49 inline void SetStreamNames(const Aws::Vector<Aws::String>& value) { m_streamNames = value; }
50 inline void SetStreamNames(Aws::Vector<Aws::String>&& value) { m_streamNames = std::move(value); }
51 inline ListStreamsResult& WithStreamNames(const Aws::Vector<Aws::String>& value) { SetStreamNames(value); return *this;}
52 inline ListStreamsResult& WithStreamNames(Aws::Vector<Aws::String>&& value) { SetStreamNames(std::move(value)); return *this;}
53 inline ListStreamsResult& AddStreamNames(const Aws::String& value) { m_streamNames.push_back(value); return *this; }
54 inline ListStreamsResult& AddStreamNames(Aws::String&& value) { m_streamNames.push_back(std::move(value)); return *this; }
55 inline ListStreamsResult& AddStreamNames(const char* value) { m_streamNames.push_back(value); return *this; }
57
59
62 inline bool GetHasMoreStreams() const{ return m_hasMoreStreams; }
63 inline void SetHasMoreStreams(bool value) { m_hasMoreStreams = value; }
64 inline ListStreamsResult& WithHasMoreStreams(bool value) { SetHasMoreStreams(value); return *this;}
66
68
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline ListStreamsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListStreamsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListStreamsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
84 inline const Aws::Vector<StreamSummary>& GetStreamSummaries() const{ return m_streamSummaries; }
85 inline void SetStreamSummaries(const Aws::Vector<StreamSummary>& value) { m_streamSummaries = value; }
86 inline void SetStreamSummaries(Aws::Vector<StreamSummary>&& value) { m_streamSummaries = std::move(value); }
88 inline ListStreamsResult& WithStreamSummaries(Aws::Vector<StreamSummary>&& value) { SetStreamSummaries(std::move(value)); return *this;}
89 inline ListStreamsResult& AddStreamSummaries(const StreamSummary& value) { m_streamSummaries.push_back(value); return *this; }
90 inline ListStreamsResult& AddStreamSummaries(StreamSummary&& value) { m_streamSummaries.push_back(std::move(value)); return *this; }
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline ListStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline ListStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline ListStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::Vector<Aws::String> m_streamNames;
106
107 bool m_hasMoreStreams;
108
109 Aws::String m_nextToken;
110
111 Aws::Vector<StreamSummary> m_streamSummaries;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace Kinesis
118} // namespace Aws
void SetStreamSummaries(Aws::Vector< StreamSummary > &&value)
ListStreamsResult & WithRequestId(const Aws::String &value)
ListStreamsResult & AddStreamNames(const char *value)
void SetStreamNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< StreamSummary > & GetStreamSummaries() const
ListStreamsResult & WithNextToken(const char *value)
ListStreamsResult & WithStreamSummaries(const Aws::Vector< StreamSummary > &value)
AWS_KINESIS_API ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStreamNames(const Aws::Vector< Aws::String > &value)
void SetNextToken(const Aws::String &value)
ListStreamsResult & AddStreamSummaries(StreamSummary &&value)
ListStreamsResult & WithRequestId(Aws::String &&value)
ListStreamsResult & AddStreamNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStreamNames() const
ListStreamsResult & WithHasMoreStreams(bool value)
AWS_KINESIS_API ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListStreamsResult & AddStreamNames(Aws::String &&value)
ListStreamsResult & WithNextToken(const Aws::String &value)
ListStreamsResult & WithRequestId(const char *value)
ListStreamsResult & WithNextToken(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetStreamSummaries(const Aws::Vector< StreamSummary > &value)
ListStreamsResult & WithStreamNames(const Aws::Vector< Aws::String > &value)
ListStreamsResult & WithStreamSummaries(Aws::Vector< StreamSummary > &&value)
const Aws::String & GetNextToken() const
ListStreamsResult & WithStreamNames(Aws::Vector< Aws::String > &&value)
void SetRequestId(const Aws::String &value)
ListStreamsResult & AddStreamSummaries(const StreamSummary &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