This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-chime/include/aws/chime/model/Participant.h

134 lines
3.9 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>The phone number and proxy phone number for a participant in an Amazon Chime
* Voice Connector proxy session.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Participant">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API Participant
{
public:
Participant();
Participant(Aws::Utils::Json::JsonView jsonValue);
Participant& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The participant's phone number.</p>
*/
inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
/**
* <p>The participant's phone number.</p>
*/
inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
/**
* <p>The participant's phone number.</p>
*/
inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
/**
* <p>The participant's phone number.</p>
*/
inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
/**
* <p>The participant's phone number.</p>
*/
inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
/**
* <p>The participant's phone number.</p>
*/
inline Participant& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
/**
* <p>The participant's phone number.</p>
*/
inline Participant& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
/**
* <p>The participant's phone number.</p>
*/
inline Participant& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
/**
* <p>The participant's proxy phone number.</p>
*/
inline const Aws::String& GetProxyPhoneNumber() const{ return m_proxyPhoneNumber; }
/**
* <p>The participant's proxy phone number.</p>
*/
inline bool ProxyPhoneNumberHasBeenSet() const { return m_proxyPhoneNumberHasBeenSet; }
/**
* <p>The participant's proxy phone number.</p>
*/
inline void SetProxyPhoneNumber(const Aws::String& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = value; }
/**
* <p>The participant's proxy phone number.</p>
*/
inline void SetProxyPhoneNumber(Aws::String&& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = std::move(value); }
/**
* <p>The participant's proxy phone number.</p>
*/
inline void SetProxyPhoneNumber(const char* value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber.assign(value); }
/**
* <p>The participant's proxy phone number.</p>
*/
inline Participant& WithProxyPhoneNumber(const Aws::String& value) { SetProxyPhoneNumber(value); return *this;}
/**
* <p>The participant's proxy phone number.</p>
*/
inline Participant& WithProxyPhoneNumber(Aws::String&& value) { SetProxyPhoneNumber(std::move(value)); return *this;}
/**
* <p>The participant's proxy phone number.</p>
*/
inline Participant& WithProxyPhoneNumber(const char* value) { SetProxyPhoneNumber(value); return *this;}
private:
Aws::String m_phoneNumber;
bool m_phoneNumberHasBeenSet;
Aws::String m_proxyPhoneNumber;
bool m_proxyPhoneNumberHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws