/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about all the versions of a specific message
* template.See Also:
AWS
* API Reference
An array of responses, one for each version of the message template.
*/ inline const Aws::VectorAn array of responses, one for each version of the message template.
*/ inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; } /** *An array of responses, one for each version of the message template.
*/ inline void SetItem(const Aws::VectorAn array of responses, one for each version of the message template.
*/ inline void SetItem(Aws::VectorAn array of responses, one for each version of the message template.
*/ inline TemplateVersionsResponse& WithItem(const Aws::VectorAn array of responses, one for each version of the message template.
*/ inline TemplateVersionsResponse& WithItem(Aws::VectorAn array of responses, one for each version of the message template.
*/ inline TemplateVersionsResponse& AddItem(const TemplateVersionResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; } /** *An array of responses, one for each version of the message template.
*/ inline TemplateVersionsResponse& AddItem(TemplateVersionResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline TemplateVersionsResponse& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline TemplateVersionsResponse& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message that's returned from the API for the request to retrieve * information about all the versions of the message template.
*/ inline TemplateVersionsResponse& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline TemplateVersionsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline TemplateVersionsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.
*/ inline TemplateVersionsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline const Aws::String& GetRequestID() const{ return m_requestID; } /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline bool RequestIDHasBeenSet() const { return m_requestIDHasBeenSet; } /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline void SetRequestID(const Aws::String& value) { m_requestIDHasBeenSet = true; m_requestID = value; } /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline void SetRequestID(Aws::String&& value) { m_requestIDHasBeenSet = true; m_requestID = std::move(value); } /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline void SetRequestID(const char* value) { m_requestIDHasBeenSet = true; m_requestID.assign(value); } /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline TemplateVersionsResponse& WithRequestID(const Aws::String& value) { SetRequestID(value); return *this;} /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline TemplateVersionsResponse& WithRequestID(Aws::String&& value) { SetRequestID(std::move(value)); return *this;} /** *The unique identifier for the request to retrieve information about all the * versions of the message template.
*/ inline TemplateVersionsResponse& WithRequestID(const char* value) { SetRequestID(value); return *this;} private: Aws::Vector