AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeliveryStreamsResult.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Firehose
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FIREHOSE_API ListDeliveryStreamsResult();
34
35
37
40 inline const Aws::Vector<Aws::String>& GetDeliveryStreamNames() const{ return m_deliveryStreamNames; }
41 inline void SetDeliveryStreamNames(const Aws::Vector<Aws::String>& value) { m_deliveryStreamNames = value; }
42 inline void SetDeliveryStreamNames(Aws::Vector<Aws::String>&& value) { m_deliveryStreamNames = std::move(value); }
45 inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const Aws::String& value) { m_deliveryStreamNames.push_back(value); return *this; }
46 inline ListDeliveryStreamsResult& AddDeliveryStreamNames(Aws::String&& value) { m_deliveryStreamNames.push_back(std::move(value)); return *this; }
47 inline ListDeliveryStreamsResult& AddDeliveryStreamNames(const char* value) { m_deliveryStreamNames.push_back(value); return *this; }
49
51
54 inline bool GetHasMoreDeliveryStreams() const{ return m_hasMoreDeliveryStreams; }
55 inline void SetHasMoreDeliveryStreams(bool value) { m_hasMoreDeliveryStreams = value; }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline ListDeliveryStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline ListDeliveryStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline ListDeliveryStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_deliveryStreamNames;
72
73 bool m_hasMoreDeliveryStreams;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Firehose
80} // namespace Aws
AWS_FIREHOSE_API ListDeliveryStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeliveryStreamsResult & WithRequestId(Aws::String &&value)
ListDeliveryStreamsResult & AddDeliveryStreamNames(const Aws::String &value)
AWS_FIREHOSE_API ListDeliveryStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeliveryStreamsResult & WithHasMoreDeliveryStreams(bool value)
ListDeliveryStreamsResult & WithDeliveryStreamNames(Aws::Vector< Aws::String > &&value)
void SetDeliveryStreamNames(const Aws::Vector< Aws::String > &value)
ListDeliveryStreamsResult & AddDeliveryStreamNames(const char *value)
ListDeliveryStreamsResult & WithRequestId(const Aws::String &value)
void SetDeliveryStreamNames(Aws::Vector< Aws::String > &&value)
ListDeliveryStreamsResult & AddDeliveryStreamNames(Aws::String &&value)
ListDeliveryStreamsResult & WithDeliveryStreamNames(const Aws::Vector< Aws::String > &value)
ListDeliveryStreamsResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetDeliveryStreamNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue