/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MQ { namespace Model { class DescribeBrokerInstanceOptionsResult { public: AWS_MQ_API DescribeBrokerInstanceOptionsResult(); AWS_MQ_API DescribeBrokerInstanceOptionsResult(const Aws::AmazonWebServiceResult& result); AWS_MQ_API DescribeBrokerInstanceOptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of available broker instance options.

*/ inline const Aws::Vector& GetBrokerInstanceOptions() const{ return m_brokerInstanceOptions; } /** *

List of available broker instance options.

*/ inline void SetBrokerInstanceOptions(const Aws::Vector& value) { m_brokerInstanceOptions = value; } /** *

List of available broker instance options.

*/ inline void SetBrokerInstanceOptions(Aws::Vector&& value) { m_brokerInstanceOptions = std::move(value); } /** *

List of available broker instance options.

*/ inline DescribeBrokerInstanceOptionsResult& WithBrokerInstanceOptions(const Aws::Vector& value) { SetBrokerInstanceOptions(value); return *this;} /** *

List of available broker instance options.

*/ inline DescribeBrokerInstanceOptionsResult& WithBrokerInstanceOptions(Aws::Vector&& value) { SetBrokerInstanceOptions(std::move(value)); return *this;} /** *

List of available broker instance options.

*/ inline DescribeBrokerInstanceOptionsResult& AddBrokerInstanceOptions(const BrokerInstanceOption& value) { m_brokerInstanceOptions.push_back(value); return *this; } /** *

List of available broker instance options.

*/ inline DescribeBrokerInstanceOptionsResult& AddBrokerInstanceOptions(BrokerInstanceOption&& value) { m_brokerInstanceOptions.push_back(std::move(value)); return *this; } /** *

Required. The maximum number of instance options that can be returned per * page (20 by default). This value must be an integer from 5 to 100.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Required. The maximum number of instance options that can be returned per * page (20 by default). This value must be an integer from 5 to 100.

*/ inline void SetMaxResults(int value) { m_maxResults = value; } /** *

Required. The maximum number of instance options that can be returned per * page (20 by default). This value must be an integer from 5 to 100.

*/ inline DescribeBrokerInstanceOptionsResult& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline DescribeBrokerInstanceOptionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline DescribeBrokerInstanceOptionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token that specifies the next page of results Amazon MQ should return. To * request the first page, leave nextToken empty.

*/ inline DescribeBrokerInstanceOptionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeBrokerInstanceOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBrokerInstanceOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBrokerInstanceOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_brokerInstanceOptions; int m_maxResults; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace MQ } // namespace Aws