AWS SDK for C++  1.9.103
AWS SDK for C++
ListStreamsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kinesis
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
46  inline const Aws::Vector<Aws::String>& GetStreamNames() const{ return m_streamNames; }
47 
52  inline void SetStreamNames(const Aws::Vector<Aws::String>& value) { m_streamNames = value; }
53 
58  inline void SetStreamNames(Aws::Vector<Aws::String>&& value) { m_streamNames = std::move(value); }
59 
64  inline ListStreamsResult& WithStreamNames(const Aws::Vector<Aws::String>& value) { SetStreamNames(value); return *this;}
65 
70  inline ListStreamsResult& WithStreamNames(Aws::Vector<Aws::String>&& value) { SetStreamNames(std::move(value)); return *this;}
71 
76  inline ListStreamsResult& AddStreamNames(const Aws::String& value) { m_streamNames.push_back(value); return *this; }
77 
82  inline ListStreamsResult& AddStreamNames(Aws::String&& value) { m_streamNames.push_back(std::move(value)); return *this; }
83 
88  inline ListStreamsResult& AddStreamNames(const char* value) { m_streamNames.push_back(value); return *this; }
89 
90 
94  inline bool GetHasMoreStreams() const{ return m_hasMoreStreams; }
95 
99  inline void SetHasMoreStreams(bool value) { m_hasMoreStreams = value; }
100 
104  inline ListStreamsResult& WithHasMoreStreams(bool value) { SetHasMoreStreams(value); return *this;}
105 
106  private:
107 
108  Aws::Vector<Aws::String> m_streamNames;
109 
110  bool m_hasMoreStreams;
111  };
112 
113 } // namespace Model
114 } // namespace Kinesis
115 } // namespace Aws
Aws::Kinesis::Model::ListStreamsResult::AddStreamNames
ListStreamsResult & AddStreamNames(Aws::String &&value)
Definition: ListStreamsResult.h:82
Aws::Kinesis::Model::ListStreamsResult::SetStreamNames
void SetStreamNames(const Aws::Vector< Aws::String > &value)
Definition: ListStreamsResult.h:52
Aws::Kinesis::Model::ListStreamsResult::AddStreamNames
ListStreamsResult & AddStreamNames(const char *value)
Definition: ListStreamsResult.h:88
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::ListStreamsResult::GetHasMoreStreams
bool GetHasMoreStreams() const
Definition: ListStreamsResult.h:94
Aws::Kinesis::Model::ListStreamsResult::SetHasMoreStreams
void SetHasMoreStreams(bool value)
Definition: ListStreamsResult.h:99
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kinesis::Model::ListStreamsResult::ListStreamsResult
ListStreamsResult()
AWSVector.h
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ListStreamsResult::SetStreamNames
void SetStreamNames(Aws::Vector< Aws::String > &&value)
Definition: ListStreamsResult.h:58
Aws::Kinesis::Model::ListStreamsResult::WithStreamNames
ListStreamsResult & WithStreamNames(Aws::Vector< Aws::String > &&value)
Definition: ListStreamsResult.h:70
Aws::Kinesis::Model::ListStreamsResult::WithStreamNames
ListStreamsResult & WithStreamNames(const Aws::Vector< Aws::String > &value)
Definition: ListStreamsResult.h:64
AWSString.h
Aws::Kinesis::Model::ListStreamsResult::operator=
ListStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Kinesis_EXPORTS.h
Aws::Kinesis::Model::ListStreamsResult
Definition: ListStreamsResult.h:35
Aws::Kinesis::Model::ListStreamsResult::GetStreamNames
const Aws::Vector< Aws::String > & GetStreamNames() const
Definition: ListStreamsResult.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::ListStreamsResult::AddStreamNames
ListStreamsResult & AddStreamNames(const Aws::String &value)
Definition: ListStreamsResult.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::ListStreamsResult::WithHasMoreStreams
ListStreamsResult & WithHasMoreStreams(bool value)
Definition: ListStreamsResult.h:104
Aws::Kinesis::Model::ListStreamsResult::ListStreamsResult
ListStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)