AWS SDK for C++  1.9.160
AWS SDK for C++
ListDeliveryStreamsResult.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 Firehose
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetDeliveryStreamNames() const{ return m_deliveryStreamNames; }
40 
44  inline void SetDeliveryStreamNames(const Aws::Vector<Aws::String>& value) { m_deliveryStreamNames = value; }
45 
49  inline void SetDeliveryStreamNames(Aws::Vector<Aws::String>&& value) { m_deliveryStreamNames = std::move(value); }
50 
54  inline ListDeliveryStreamsResult& WithDeliveryStreamNames(const Aws::Vector<Aws::String>& value) { SetDeliveryStreamNames(value); return *this;}
55 
59  inline ListDeliveryStreamsResult& WithDeliveryStreamNames(Aws::Vector<Aws::String>&& value) { SetDeliveryStreamNames(std::move(value)); return *this;}
60 
64  inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const Aws::String& value) { m_deliveryStreamNames.push_back(value); return *this; }
65 
69  inline ListDeliveryStreamsResult& AddDeliveryStreamNames(Aws::String&& value) { m_deliveryStreamNames.push_back(std::move(value)); return *this; }
70 
74  inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const char* value) { m_deliveryStreamNames.push_back(value); return *this; }
75 
76 
80  inline bool GetHasMoreDeliveryStreams() const{ return m_hasMoreDeliveryStreams; }
81 
85  inline void SetHasMoreDeliveryStreams(bool value) { m_hasMoreDeliveryStreams = value; }
86 
90  inline ListDeliveryStreamsResult& WithHasMoreDeliveryStreams(bool value) { SetHasMoreDeliveryStreams(value); return *this;}
91 
92  private:
93 
94  Aws::Vector<Aws::String> m_deliveryStreamNames;
95 
96  bool m_hasMoreDeliveryStreams;
97  };
98 
99 } // namespace Model
100 } // namespace Firehose
101 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Firehose::Model::ListDeliveryStreamsResult
Definition: ListDeliveryStreamsResult.h:29
Aws::Firehose::Model::ListDeliveryStreamsResult::GetDeliveryStreamNames
const Aws::Vector< Aws::String > & GetDeliveryStreamNames() const
Definition: ListDeliveryStreamsResult.h:39
Aws::Firehose::Model::ListDeliveryStreamsResult::SetDeliveryStreamNames
void SetDeliveryStreamNames(Aws::Vector< Aws::String > &&value)
Definition: ListDeliveryStreamsResult.h:49
Aws::Firehose::Model::ListDeliveryStreamsResult::AddDeliveryStreamNames
ListDeliveryStreamsResult & AddDeliveryStreamNames(const char *value)
Definition: ListDeliveryStreamsResult.h:74
Aws::Firehose::Model::ListDeliveryStreamsResult::WithDeliveryStreamNames
ListDeliveryStreamsResult & WithDeliveryStreamNames(Aws::Vector< Aws::String > &&value)
Definition: ListDeliveryStreamsResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Firehose::Model::ListDeliveryStreamsResult::SetDeliveryStreamNames
void SetDeliveryStreamNames(const Aws::Vector< Aws::String > &value)
Definition: ListDeliveryStreamsResult.h:44
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
AWSString.h
Aws::Firehose::Model::ListDeliveryStreamsResult::GetHasMoreDeliveryStreams
bool GetHasMoreDeliveryStreams() const
Definition: ListDeliveryStreamsResult.h:80
Firehose_EXPORTS.h
Aws::Firehose::Model::ListDeliveryStreamsResult::operator=
ListDeliveryStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Firehose::Model::ListDeliveryStreamsResult::SetHasMoreDeliveryStreams
void SetHasMoreDeliveryStreams(bool value)
Definition: ListDeliveryStreamsResult.h:85
Aws::Firehose::Model::ListDeliveryStreamsResult::WithDeliveryStreamNames
ListDeliveryStreamsResult & WithDeliveryStreamNames(const Aws::Vector< Aws::String > &value)
Definition: ListDeliveryStreamsResult.h:54
Aws::Firehose::Model::ListDeliveryStreamsResult::AddDeliveryStreamNames
ListDeliveryStreamsResult & AddDeliveryStreamNames(Aws::String &&value)
Definition: ListDeliveryStreamsResult.h:69
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Firehose::Model::ListDeliveryStreamsResult::AddDeliveryStreamNames
ListDeliveryStreamsResult & AddDeliveryStreamNames(const Aws::String &value)
Definition: ListDeliveryStreamsResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::ListDeliveryStreamsResult::WithHasMoreDeliveryStreams
ListDeliveryStreamsResult & WithHasMoreDeliveryStreams(bool value)
Definition: ListDeliveryStreamsResult.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::ListDeliveryStreamsResult::ListDeliveryStreamsResult
ListDeliveryStreamsResult()
Aws::Firehose::Model::ListDeliveryStreamsResult::ListDeliveryStreamsResult
ListDeliveryStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)