/** * 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 PinpointSMSVoiceV2 { namespace Model { class ListPoolOriginationIdentitiesResult { public: AWS_PINPOINTSMSVOICEV2_API ListPoolOriginationIdentitiesResult(); AWS_PINPOINTSMSVOICEV2_API ListPoolOriginationIdentitiesResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTSMSVOICEV2_API ListPoolOriginationIdentitiesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) for the pool.

*/ inline const Aws::String& GetPoolArn() const{ return m_poolArn; } /** *

The Amazon Resource Name (ARN) for the pool.

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

The Amazon Resource Name (ARN) for the pool.

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

The Amazon Resource Name (ARN) for the pool.

*/ inline void SetPoolArn(const char* value) { m_poolArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolArn(const Aws::String& value) { SetPoolArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolArn(Aws::String&& value) { SetPoolArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolArn(const char* value) { SetPoolArn(value); return *this;} /** *

The unique PoolId of the pool.

*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *

The unique PoolId of the pool.

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

The unique PoolId of the pool.

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

The unique PoolId of the pool.

*/ inline void SetPoolId(const char* value) { m_poolId.assign(value); } /** *

The unique PoolId of the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *

The unique PoolId of the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *

The unique PoolId of the pool.

*/ inline ListPoolOriginationIdentitiesResult& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *

An array of any OriginationIdentityMetadata objects.

*/ inline const Aws::Vector& GetOriginationIdentities() const{ return m_originationIdentities; } /** *

An array of any OriginationIdentityMetadata objects.

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

An array of any OriginationIdentityMetadata objects.

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

An array of any OriginationIdentityMetadata objects.

*/ inline ListPoolOriginationIdentitiesResult& WithOriginationIdentities(const Aws::Vector& value) { SetOriginationIdentities(value); return *this;} /** *

An array of any OriginationIdentityMetadata objects.

*/ inline ListPoolOriginationIdentitiesResult& WithOriginationIdentities(Aws::Vector&& value) { SetOriginationIdentities(std::move(value)); return *this;} /** *

An array of any OriginationIdentityMetadata objects.

*/ inline ListPoolOriginationIdentitiesResult& AddOriginationIdentities(const OriginationIdentityMetadata& value) { m_originationIdentities.push_back(value); return *this; } /** *

An array of any OriginationIdentityMetadata objects.

*/ inline ListPoolOriginationIdentitiesResult& AddOriginationIdentities(OriginationIdentityMetadata&& value) { m_originationIdentities.push_back(std::move(value)); return *this; } /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline ListPoolOriginationIdentitiesResult& 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 ListPoolOriginationIdentitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListPoolOriginationIdentitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListPoolOriginationIdentitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_poolArn; Aws::String m_poolId; Aws::Vector m_originationIdentities; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws