AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBrokerInstanceOptionsResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mq/model/BrokerInstanceOption.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 MQ
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Vector<BrokerInstanceOption>& GetBrokerInstanceOptions() const{ return m_brokerInstanceOptions; }
42 inline void SetBrokerInstanceOptions(const Aws::Vector<BrokerInstanceOption>& value) { m_brokerInstanceOptions = value; }
43 inline void SetBrokerInstanceOptions(Aws::Vector<BrokerInstanceOption>&& value) { m_brokerInstanceOptions = std::move(value); }
46 inline DescribeBrokerInstanceOptionsResult& AddBrokerInstanceOptions(const BrokerInstanceOption& value) { m_brokerInstanceOptions.push_back(value); return *this; }
47 inline DescribeBrokerInstanceOptionsResult& AddBrokerInstanceOptions(BrokerInstanceOption&& value) { m_brokerInstanceOptions.push_back(std::move(value)); return *this; }
49
51
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline void SetMaxResults(int value) { m_maxResults = value; }
57 inline DescribeBrokerInstanceOptionsResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
59
61
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline DescribeBrokerInstanceOptionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline DescribeBrokerInstanceOptionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline DescribeBrokerInstanceOptionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DescribeBrokerInstanceOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DescribeBrokerInstanceOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DescribeBrokerInstanceOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<BrokerInstanceOption> m_brokerInstanceOptions;
87
88 int m_maxResults;
89
90 Aws::String m_nextToken;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace MQ
97} // namespace Aws
DescribeBrokerInstanceOptionsResult & WithBrokerInstanceOptions(Aws::Vector< BrokerInstanceOption > &&value)
void SetBrokerInstanceOptions(Aws::Vector< BrokerInstanceOption > &&value)
DescribeBrokerInstanceOptionsResult & WithNextToken(const char *value)
const Aws::Vector< BrokerInstanceOption > & GetBrokerInstanceOptions() const
AWS_MQ_API DescribeBrokerInstanceOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBrokerInstanceOptionsResult & WithNextToken(Aws::String &&value)
DescribeBrokerInstanceOptionsResult & WithRequestId(Aws::String &&value)
DescribeBrokerInstanceOptionsResult & WithMaxResults(int value)
DescribeBrokerInstanceOptionsResult & AddBrokerInstanceOptions(BrokerInstanceOption &&value)
DescribeBrokerInstanceOptionsResult & WithNextToken(const Aws::String &value)
DescribeBrokerInstanceOptionsResult & WithRequestId(const char *value)
DescribeBrokerInstanceOptionsResult & AddBrokerInstanceOptions(const BrokerInstanceOption &value)
AWS_MQ_API DescribeBrokerInstanceOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBrokerInstanceOptions(const Aws::Vector< BrokerInstanceOption > &value)
DescribeBrokerInstanceOptionsResult & WithBrokerInstanceOptions(const Aws::Vector< BrokerInstanceOption > &value)
DescribeBrokerInstanceOptionsResult & WithRequestId(const 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