/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides information about an application.

See Also:

AWS * API Reference

*/ class ApplicationResponse { public: AWS_PINPOINT_API ApplicationResponse(); AWS_PINPOINT_API ApplicationResponse(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API ApplicationResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the application.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationResponse& WithArn(const char* value) { SetArn(value); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithId(const char* value) { SetId(value); return *this;} /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The display name of the application. This name is displayed as the Project * name on the Amazon Pinpoint console.

*/ inline ApplicationResponse& WithName(const char* value) { SetName(value); return *this;} /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A string-to-string map of key-value pairs that identifies the tags that are * associated with the application. Each tag consists of a required tag key and an * associated tag value.

*/ inline ApplicationResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The date and time when the Application was created.

*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *

The date and time when the Application was created.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date and time when the Application was created.

*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date and time when the Application was created.

*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date and time when the Application was created.

*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *

The date and time when the Application was created.

*/ inline ApplicationResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *

The date and time when the Application was created.

*/ inline ApplicationResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date and time when the Application was created.

*/ inline ApplicationResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_creationDate; bool m_creationDateHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws