/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

Contains information about a quick connect.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the quick connect.

*/ inline const Aws::String& GetQuickConnectARN() const{ return m_quickConnectARN; } /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline bool QuickConnectARNHasBeenSet() const { return m_quickConnectARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline void SetQuickConnectARN(const Aws::String& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = value; } /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline void SetQuickConnectARN(Aws::String&& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline void SetQuickConnectARN(const char* value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline QuickConnect& WithQuickConnectARN(const Aws::String& value) { SetQuickConnectARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline QuickConnect& WithQuickConnectARN(Aws::String&& value) { SetQuickConnectARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the quick connect.

*/ inline QuickConnect& WithQuickConnectARN(const char* value) { SetQuickConnectARN(value); return *this;} /** *

The identifier for the quick connect.

*/ inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; } /** *

The identifier for the quick connect.

*/ inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); } /** *

The identifier for the quick connect.

*/ inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); } /** *

The identifier for the quick connect.

*/ inline QuickConnect& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;} /** *

The identifier for the quick connect.

*/ inline QuickConnect& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;} /** *

The identifier for the quick connect.

*/ inline QuickConnect& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;} /** *

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The name of the quick connect.

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

The description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description.

*/ inline QuickConnect& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description.

*/ inline QuickConnect& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description.

*/ inline QuickConnect& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Contains information about the quick connect.

*/ inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; } /** *

Contains information about the quick connect.

*/ inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; } /** *

Contains information about the quick connect.

*/ inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; } /** *

Contains information about the quick connect.

*/ inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); } /** *

Contains information about the quick connect.

*/ inline QuickConnect& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;} /** *

Contains information about the quick connect.

*/ inline QuickConnect& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline QuickConnect& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_quickConnectARN; bool m_quickConnectARNHasBeenSet = false; Aws::String m_quickConnectId; bool m_quickConnectIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; QuickConnectConfig m_quickConnectConfig; bool m_quickConnectConfigHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws