/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The information for all keywords in a pool.See Also:
AWS
* API Reference
The keyword as a string.
*/ inline const Aws::String& GetKeyword() const{ return m_keyword; } /** *The keyword as a string.
*/ inline bool KeywordHasBeenSet() const { return m_keywordHasBeenSet; } /** *The keyword as a string.
*/ inline void SetKeyword(const Aws::String& value) { m_keywordHasBeenSet = true; m_keyword = value; } /** *The keyword as a string.
*/ inline void SetKeyword(Aws::String&& value) { m_keywordHasBeenSet = true; m_keyword = std::move(value); } /** *The keyword as a string.
*/ inline void SetKeyword(const char* value) { m_keywordHasBeenSet = true; m_keyword.assign(value); } /** *The keyword as a string.
*/ inline KeywordInformation& WithKeyword(const Aws::String& value) { SetKeyword(value); return *this;} /** *The keyword as a string.
*/ inline KeywordInformation& WithKeyword(Aws::String&& value) { SetKeyword(std::move(value)); return *this;} /** *The keyword as a string.
*/ inline KeywordInformation& WithKeyword(const char* value) { SetKeyword(value); return *this;} /** *A custom message that can be used with the keyword.
*/ inline const Aws::String& GetKeywordMessage() const{ return m_keywordMessage; } /** *A custom message that can be used with the keyword.
*/ inline bool KeywordMessageHasBeenSet() const { return m_keywordMessageHasBeenSet; } /** *A custom message that can be used with the keyword.
*/ inline void SetKeywordMessage(const Aws::String& value) { m_keywordMessageHasBeenSet = true; m_keywordMessage = value; } /** *A custom message that can be used with the keyword.
*/ inline void SetKeywordMessage(Aws::String&& value) { m_keywordMessageHasBeenSet = true; m_keywordMessage = std::move(value); } /** *A custom message that can be used with the keyword.
*/ inline void SetKeywordMessage(const char* value) { m_keywordMessageHasBeenSet = true; m_keywordMessage.assign(value); } /** *A custom message that can be used with the keyword.
*/ inline KeywordInformation& WithKeywordMessage(const Aws::String& value) { SetKeywordMessage(value); return *this;} /** *A custom message that can be used with the keyword.
*/ inline KeywordInformation& WithKeywordMessage(Aws::String&& value) { SetKeywordMessage(std::move(value)); return *this;} /** *A custom message that can be used with the keyword.
*/ inline KeywordInformation& WithKeywordMessage(const char* value) { SetKeywordMessage(value); return *this;} /** *The action to perform for the keyword.
*/ inline const KeywordAction& GetKeywordAction() const{ return m_keywordAction; } /** *The action to perform for the keyword.
*/ inline bool KeywordActionHasBeenSet() const { return m_keywordActionHasBeenSet; } /** *The action to perform for the keyword.
*/ inline void SetKeywordAction(const KeywordAction& value) { m_keywordActionHasBeenSet = true; m_keywordAction = value; } /** *The action to perform for the keyword.
*/ inline void SetKeywordAction(KeywordAction&& value) { m_keywordActionHasBeenSet = true; m_keywordAction = std::move(value); } /** *The action to perform for the keyword.
*/ inline KeywordInformation& WithKeywordAction(const KeywordAction& value) { SetKeywordAction(value); return *this;} /** *The action to perform for the keyword.
*/ inline KeywordInformation& WithKeywordAction(KeywordAction&& value) { SetKeywordAction(std::move(value)); return *this;} private: Aws::String m_keyword; bool m_keywordHasBeenSet = false; Aws::String m_keywordMessage; bool m_keywordMessageHasBeenSet = false; KeywordAction m_keywordAction; bool m_keywordActionHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws