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

The Amazon Chime Voice Connector group configuration, including associated * Amazon Chime Voice Connectors. You can include Amazon Chime Voice Connectors * from different AWS Regions in your group. This creates a fault tolerant * mechanism for fallback in case of availability events.

See Also:

* AWS * API Reference

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

The Amazon Chime Voice Connector group ID.

*/ inline const Aws::String& GetVoiceConnectorGroupId() const{ return m_voiceConnectorGroupId; } /** *

The Amazon Chime Voice Connector group ID.

*/ inline bool VoiceConnectorGroupIdHasBeenSet() const { return m_voiceConnectorGroupIdHasBeenSet; } /** *

The Amazon Chime Voice Connector group ID.

*/ inline void SetVoiceConnectorGroupId(const Aws::String& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = value; } /** *

The Amazon Chime Voice Connector group ID.

*/ inline void SetVoiceConnectorGroupId(Aws::String&& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = std::move(value); } /** *

The Amazon Chime Voice Connector group ID.

*/ inline void SetVoiceConnectorGroupId(const char* value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId.assign(value); } /** *

The Amazon Chime Voice Connector group ID.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupId(const Aws::String& value) { SetVoiceConnectorGroupId(value); return *this;} /** *

The Amazon Chime Voice Connector group ID.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupId(Aws::String&& value) { SetVoiceConnectorGroupId(std::move(value)); return *this;} /** *

The Amazon Chime Voice Connector group ID.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupId(const char* value) { SetVoiceConnectorGroupId(value); return *this;} /** *

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The name of the Amazon Chime Voice Connector group.

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

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline const Aws::Vector& GetVoiceConnectorItems() const{ return m_voiceConnectorItems; } /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline bool VoiceConnectorItemsHasBeenSet() const { return m_voiceConnectorItemsHasBeenSet; } /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline void SetVoiceConnectorItems(const Aws::Vector& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = value; } /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline void SetVoiceConnectorItems(Aws::Vector&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = std::move(value); } /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline VoiceConnectorGroup& WithVoiceConnectorItems(const Aws::Vector& value) { SetVoiceConnectorItems(value); return *this;} /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline VoiceConnectorGroup& WithVoiceConnectorItems(Aws::Vector&& value) { SetVoiceConnectorItems(std::move(value)); return *this;} /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline VoiceConnectorGroup& AddVoiceConnectorItems(const VoiceConnectorItem& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(value); return *this; } /** *

The Amazon Chime Voice Connectors to which to route inbound calls.

*/ inline VoiceConnectorGroup& AddVoiceConnectorItems(VoiceConnectorItem&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(std::move(value)); return *this; } /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline VoiceConnectorGroup& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 * format.

*/ inline VoiceConnectorGroup& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline VoiceConnectorGroup& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 * format.

*/ inline VoiceConnectorGroup& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline const Aws::String& GetVoiceConnectorGroupArn() const{ return m_voiceConnectorGroupArn; } /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline bool VoiceConnectorGroupArnHasBeenSet() const { return m_voiceConnectorGroupArnHasBeenSet; } /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline void SetVoiceConnectorGroupArn(const Aws::String& value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn = value; } /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline void SetVoiceConnectorGroupArn(Aws::String&& value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn = std::move(value); } /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline void SetVoiceConnectorGroupArn(const char* value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn.assign(value); } /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupArn(const Aws::String& value) { SetVoiceConnectorGroupArn(value); return *this;} /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupArn(Aws::String&& value) { SetVoiceConnectorGroupArn(std::move(value)); return *this;} /** *

The ARN of the specified Amazon Chime Voice Connector group.

*/ inline VoiceConnectorGroup& WithVoiceConnectorGroupArn(const char* value) { SetVoiceConnectorGroupArn(value); return *this;} private: Aws::String m_voiceConnectorGroupId; bool m_voiceConnectorGroupIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_voiceConnectorItems; bool m_voiceConnectorItemsHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; Aws::String m_voiceConnectorGroupArn; bool m_voiceConnectorGroupArnHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws