/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The phone number associations, such as an Amazon Chime SDK account ID, user
* ID, Voice Connector ID, or Voice Connector group ID.See Also:
* AWS
* API Reference
Contains the ID for the entity specified in Name.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Contains the ID for the entity specified in Name.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Contains the ID for the entity specified in Name.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Contains the ID for the entity specified in Name.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Contains the ID for the entity specified in Name.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Contains the ID for the entity specified in Name.
*/ inline PhoneNumberAssociation& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Contains the ID for the entity specified in Name.
*/ inline PhoneNumberAssociation& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Contains the ID for the entity specified in Name.
*/ inline PhoneNumberAssociation& WithValue(const char* value) { SetValue(value); return *this;} /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline const PhoneNumberAssociationName& GetName() const{ return m_name; } /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline void SetName(const PhoneNumberAssociationName& value) { m_nameHasBeenSet = true; m_name = value; } /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline void SetName(PhoneNumberAssociationName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline PhoneNumberAssociation& WithName(const PhoneNumberAssociationName& value) { SetName(value); return *this;} /** *Defines the association with an Amazon Chime SDK account ID, user ID, Voice * Connector ID, or Voice Connector group ID.
*/ inline PhoneNumberAssociation& WithName(PhoneNumberAssociationName&& value) { SetName(std::move(value)); return *this;} /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline const Aws::Utils::DateTime& GetAssociatedTimestamp() const{ return m_associatedTimestamp; } /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline bool AssociatedTimestampHasBeenSet() const { return m_associatedTimestampHasBeenSet; } /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline void SetAssociatedTimestamp(const Aws::Utils::DateTime& value) { m_associatedTimestampHasBeenSet = true; m_associatedTimestamp = value; } /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline void SetAssociatedTimestamp(Aws::Utils::DateTime&& value) { m_associatedTimestampHasBeenSet = true; m_associatedTimestamp = std::move(value); } /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline PhoneNumberAssociation& WithAssociatedTimestamp(const Aws::Utils::DateTime& value) { SetAssociatedTimestamp(value); return *this;} /** *The timestamp of the phone number association, in ISO 8601 format.
*/ inline PhoneNumberAssociation& WithAssociatedTimestamp(Aws::Utils::DateTime&& value) { SetAssociatedTimestamp(std::move(value)); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; PhoneNumberAssociationName m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_associatedTimestamp; bool m_associatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws