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

The PhoneNumberArn or PoolArn that the keyword was associated with.

*/ inline const Aws::String& GetOriginationIdentityArn() const{ return m_originationIdentityArn; } /** *

The PhoneNumberArn or PoolArn that the keyword was associated with.

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

The PhoneNumberArn or PoolArn that the keyword was associated with.

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

The PhoneNumberArn or PoolArn that the keyword was associated with.

*/ inline void SetOriginationIdentityArn(const char* value) { m_originationIdentityArn.assign(value); } /** *

The PhoneNumberArn or PoolArn that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentityArn(const Aws::String& value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberArn or PoolArn that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentityArn(Aws::String&& value) { SetOriginationIdentityArn(std::move(value)); return *this;} /** *

The PhoneNumberArn or PoolArn that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentityArn(const char* value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberId or PoolId that the keyword was associated with.

*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } /** *

The PhoneNumberId or PoolId that the keyword was associated with.

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

The PhoneNumberId or PoolId that the keyword was associated with.

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

The PhoneNumberId or PoolId that the keyword was associated with.

*/ inline void SetOriginationIdentity(const char* value) { m_originationIdentity.assign(value); } /** *

The PhoneNumberId or PoolId that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentity(const Aws::String& value) { SetOriginationIdentity(value); return *this;} /** *

The PhoneNumberId or PoolId that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentity(Aws::String&& value) { SetOriginationIdentity(std::move(value)); return *this;} /** *

The PhoneNumberId or PoolId that the keyword was associated with.

*/ inline DeleteKeywordResult& WithOriginationIdentity(const char* value) { SetOriginationIdentity(value); return *this;} /** *

The keyword that was deleted.

*/ inline const Aws::String& GetKeyword() const{ return m_keyword; } /** *

The keyword that was deleted.

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

The keyword that was deleted.

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

The keyword that was deleted.

*/ inline void SetKeyword(const char* value) { m_keyword.assign(value); } /** *

The keyword that was deleted.

*/ inline DeleteKeywordResult& WithKeyword(const Aws::String& value) { SetKeyword(value); return *this;} /** *

The keyword that was deleted.

*/ inline DeleteKeywordResult& WithKeyword(Aws::String&& value) { SetKeyword(std::move(value)); return *this;} /** *

The keyword that was deleted.

*/ inline DeleteKeywordResult& WithKeyword(const char* value) { SetKeyword(value); return *this;} /** *

The message that was associated with the deleted keyword.

*/ inline const Aws::String& GetKeywordMessage() const{ return m_keywordMessage; } /** *

The message that was associated with the deleted keyword.

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

The message that was associated with the deleted keyword.

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

The message that was associated with the deleted keyword.

*/ inline void SetKeywordMessage(const char* value) { m_keywordMessage.assign(value); } /** *

The message that was associated with the deleted keyword.

*/ inline DeleteKeywordResult& WithKeywordMessage(const Aws::String& value) { SetKeywordMessage(value); return *this;} /** *

The message that was associated with the deleted keyword.

*/ inline DeleteKeywordResult& WithKeywordMessage(Aws::String&& value) { SetKeywordMessage(std::move(value)); return *this;} /** *

The message that was associated with the deleted keyword.

*/ inline DeleteKeywordResult& WithKeywordMessage(const char* value) { SetKeywordMessage(value); return *this;} /** *

The action that was associated with the deleted keyword.

*/ inline const KeywordAction& GetKeywordAction() const{ return m_keywordAction; } /** *

The action that was associated with the deleted keyword.

*/ inline void SetKeywordAction(const KeywordAction& value) { m_keywordAction = value; } /** *

The action that was associated with the deleted keyword.

*/ inline void SetKeywordAction(KeywordAction&& value) { m_keywordAction = std::move(value); } /** *

The action that was associated with the deleted keyword.

*/ inline DeleteKeywordResult& WithKeywordAction(const KeywordAction& value) { SetKeywordAction(value); return *this;} /** *

The action that was associated with the deleted keyword.

*/ inline DeleteKeywordResult& WithKeywordAction(KeywordAction&& value) { SetKeywordAction(std::move(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 DeleteKeywordResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteKeywordResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteKeywordResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_originationIdentityArn; Aws::String m_originationIdentity; Aws::String m_keyword; Aws::String m_keywordMessage; KeywordAction m_keywordAction; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws