feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,96 @@
/**
* 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/chime/model/ErrorCode.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>You don't have permissions to perform the requested operation.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AccessDeniedException">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API AccessDeniedException
{
public:
AccessDeniedException();
AccessDeniedException(Aws::Utils::Json::JsonView jsonValue);
AccessDeniedException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const ErrorCode& GetCode() const{ return m_code; }
inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
inline void SetCode(const ErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
inline void SetCode(ErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
inline AccessDeniedException& WithCode(const ErrorCode& value) { SetCode(value); return *this;}
inline AccessDeniedException& WithCode(ErrorCode&& value) { SetCode(std::move(value)); return *this;}
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline AccessDeniedException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline AccessDeniedException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline AccessDeniedException& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
ErrorCode m_code;
bool m_codeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,396 @@
/**
* 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 <aws/chime/model/AccountType.h>
#include <aws/core/utils/DateTime.h>
#include <aws/chime/model/License.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/SigninDelegateGroup.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>The Amazon Chime account details. An AWS account can have multiple Amazon
* Chime accounts.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Account">AWS API
* Reference</a></p>
*/
class AWS_CHIME_API Account
{
public:
Account();
Account(Aws::Utils::Json::JsonView jsonValue);
Account& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The AWS account ID.</p>
*/
inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
/**
* <p>The AWS account ID.</p>
*/
inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
/**
* <p>The AWS account ID.</p>
*/
inline Account& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline Account& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline Account& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline Account& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline Account& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline Account& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account name.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The Amazon Chime account name.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The Amazon Chime account name.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The Amazon Chime account name.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The Amazon Chime account name.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The Amazon Chime account name.</p>
*/
inline Account& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The Amazon Chime account name.</p>
*/
inline Account& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account name.</p>
*/
inline Account& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline const AccountType& GetAccountType() const{ return m_accountType; }
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline bool AccountTypeHasBeenSet() const { return m_accountTypeHasBeenSet; }
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline void SetAccountType(const AccountType& value) { m_accountTypeHasBeenSet = true; m_accountType = value; }
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline void SetAccountType(AccountType&& value) { m_accountTypeHasBeenSet = true; m_accountType = std::move(value); }
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline Account& WithAccountType(const AccountType& value) { SetAccountType(value); return *this;}
/**
* <p>The Amazon Chime account type. For more information about different account
* types, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html">Managing
* Your Amazon Chime Accounts</a> in the <i>Amazon Chime Administration
* Guide</i>.</p>
*/
inline Account& WithAccountType(AccountType&& value) { SetAccountType(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline Account& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
/**
* <p>The Amazon Chime account creation timestamp, in ISO 8601 format.</p>
*/
inline Account& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline const License& GetDefaultLicense() const{ return m_defaultLicense; }
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline bool DefaultLicenseHasBeenSet() const { return m_defaultLicenseHasBeenSet; }
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline void SetDefaultLicense(const License& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = value; }
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline void SetDefaultLicense(License&& value) { m_defaultLicenseHasBeenSet = true; m_defaultLicense = std::move(value); }
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline Account& WithDefaultLicense(const License& value) { SetDefaultLicense(value); return *this;}
/**
* <p>The default license for the Amazon Chime account.</p>
*/
inline Account& WithDefaultLicense(License&& value) { SetDefaultLicense(std::move(value)); return *this;}
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline const Aws::Vector<License>& GetSupportedLicenses() const{ return m_supportedLicenses; }
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline bool SupportedLicensesHasBeenSet() const { return m_supportedLicensesHasBeenSet; }
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline void SetSupportedLicenses(const Aws::Vector<License>& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = value; }
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline void SetSupportedLicenses(Aws::Vector<License>&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses = std::move(value); }
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline Account& WithSupportedLicenses(const Aws::Vector<License>& value) { SetSupportedLicenses(value); return *this;}
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline Account& WithSupportedLicenses(Aws::Vector<License>&& value) { SetSupportedLicenses(std::move(value)); return *this;}
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline Account& AddSupportedLicenses(const License& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(value); return *this; }
/**
* <p>Supported licenses for the Amazon Chime account.</p>
*/
inline Account& AddSupportedLicenses(License&& value) { m_supportedLicensesHasBeenSet = true; m_supportedLicenses.push_back(std::move(value)); return *this; }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline const Aws::Vector<SigninDelegateGroup>& GetSigninDelegateGroups() const{ return m_signinDelegateGroups; }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline bool SigninDelegateGroupsHasBeenSet() const { return m_signinDelegateGroupsHasBeenSet; }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline void SetSigninDelegateGroups(const Aws::Vector<SigninDelegateGroup>& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = value; }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline void SetSigninDelegateGroups(Aws::Vector<SigninDelegateGroup>&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = std::move(value); }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline Account& WithSigninDelegateGroups(const Aws::Vector<SigninDelegateGroup>& value) { SetSigninDelegateGroups(value); return *this;}
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline Account& WithSigninDelegateGroups(Aws::Vector<SigninDelegateGroup>&& value) { SetSigninDelegateGroups(std::move(value)); return *this;}
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline Account& AddSigninDelegateGroups(const SigninDelegateGroup& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(value); return *this; }
/**
* <p>The sign-in delegate groups associated with the account.</p>
*/
inline Account& AddSigninDelegateGroups(SigninDelegateGroup&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(std::move(value)); return *this; }
private:
Aws::String m_awsAccountId;
bool m_awsAccountIdHasBeenSet;
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
AccountType m_accountType;
bool m_accountTypeHasBeenSet;
Aws::Utils::DateTime m_createdTimestamp;
bool m_createdTimestampHasBeenSet;
License m_defaultLicense;
bool m_defaultLicenseHasBeenSet;
Aws::Vector<License> m_supportedLicenses;
bool m_supportedLicensesHasBeenSet;
Aws::Vector<SigninDelegateGroup> m_signinDelegateGroups;
bool m_signinDelegateGroupsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,112 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>Settings related to the Amazon Chime account. This includes settings that
* start or stop remote control of shared screens, or start or stop the dial-out
* option in the Amazon Chime web application. For more information about these
* settings, see <a
* href="https://docs.aws.amazon.com/chime/latest/ag/policies.html">Use the
* Policies Page</a> in the <i>Amazon Chime Administration Guide</i>.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AccountSettings">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API AccountSettings
{
public:
AccountSettings();
AccountSettings(Aws::Utils::Json::JsonView jsonValue);
AccountSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Setting that stops or starts remote control of shared screens during
* meetings.</p>
*/
inline bool GetDisableRemoteControl() const{ return m_disableRemoteControl; }
/**
* <p>Setting that stops or starts remote control of shared screens during
* meetings.</p>
*/
inline bool DisableRemoteControlHasBeenSet() const { return m_disableRemoteControlHasBeenSet; }
/**
* <p>Setting that stops or starts remote control of shared screens during
* meetings.</p>
*/
inline void SetDisableRemoteControl(bool value) { m_disableRemoteControlHasBeenSet = true; m_disableRemoteControl = value; }
/**
* <p>Setting that stops or starts remote control of shared screens during
* meetings.</p>
*/
inline AccountSettings& WithDisableRemoteControl(bool value) { SetDisableRemoteControl(value); return *this;}
/**
* <p>Setting that allows meeting participants to choose the <b>Call me at a phone
* number</b> option. For more information, see <a
* href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
* a Meeting without the Amazon Chime App</a>.</p>
*/
inline bool GetEnableDialOut() const{ return m_enableDialOut; }
/**
* <p>Setting that allows meeting participants to choose the <b>Call me at a phone
* number</b> option. For more information, see <a
* href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
* a Meeting without the Amazon Chime App</a>.</p>
*/
inline bool EnableDialOutHasBeenSet() const { return m_enableDialOutHasBeenSet; }
/**
* <p>Setting that allows meeting participants to choose the <b>Call me at a phone
* number</b> option. For more information, see <a
* href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
* a Meeting without the Amazon Chime App</a>.</p>
*/
inline void SetEnableDialOut(bool value) { m_enableDialOutHasBeenSet = true; m_enableDialOut = value; }
/**
* <p>Setting that allows meeting participants to choose the <b>Call me at a phone
* number</b> option. For more information, see <a
* href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
* a Meeting without the Amazon Chime App</a>.</p>
*/
inline AccountSettings& WithEnableDialOut(bool value) { SetEnableDialOut(value); return *this;}
private:
bool m_disableRemoteControl;
bool m_disableRemoteControlHasBeenSet;
bool m_enableDialOut;
bool m_enableDialOutHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,33 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class AccountType
{
NOT_SET,
Team,
EnterpriseDirectory,
EnterpriseLWA,
EnterpriseOIDC
};
namespace AccountTypeMapper
{
AWS_CHIME_API AccountType GetAccountTypeForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForAccountType(AccountType value);
} // namespace AccountTypeMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,113 @@
/**
* 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 Alexa for Business metadata associated with an Amazon Chime user, used to
* integrate Alexa for Business with a device.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AlexaForBusinessMetadata">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API AlexaForBusinessMetadata
{
public:
AlexaForBusinessMetadata();
AlexaForBusinessMetadata(Aws::Utils::Json::JsonView jsonValue);
AlexaForBusinessMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Starts or stops Alexa for Business.</p>
*/
inline bool GetIsAlexaForBusinessEnabled() const{ return m_isAlexaForBusinessEnabled; }
/**
* <p>Starts or stops Alexa for Business.</p>
*/
inline bool IsAlexaForBusinessEnabledHasBeenSet() const { return m_isAlexaForBusinessEnabledHasBeenSet; }
/**
* <p>Starts or stops Alexa for Business.</p>
*/
inline void SetIsAlexaForBusinessEnabled(bool value) { m_isAlexaForBusinessEnabledHasBeenSet = true; m_isAlexaForBusinessEnabled = value; }
/**
* <p>Starts or stops Alexa for Business.</p>
*/
inline AlexaForBusinessMetadata& WithIsAlexaForBusinessEnabled(bool value) { SetIsAlexaForBusinessEnabled(value); return *this;}
/**
* <p>The ARN of the room resource.</p>
*/
inline const Aws::String& GetAlexaForBusinessRoomArn() const{ return m_alexaForBusinessRoomArn; }
/**
* <p>The ARN of the room resource.</p>
*/
inline bool AlexaForBusinessRoomArnHasBeenSet() const { return m_alexaForBusinessRoomArnHasBeenSet; }
/**
* <p>The ARN of the room resource.</p>
*/
inline void SetAlexaForBusinessRoomArn(const Aws::String& value) { m_alexaForBusinessRoomArnHasBeenSet = true; m_alexaForBusinessRoomArn = value; }
/**
* <p>The ARN of the room resource.</p>
*/
inline void SetAlexaForBusinessRoomArn(Aws::String&& value) { m_alexaForBusinessRoomArnHasBeenSet = true; m_alexaForBusinessRoomArn = std::move(value); }
/**
* <p>The ARN of the room resource.</p>
*/
inline void SetAlexaForBusinessRoomArn(const char* value) { m_alexaForBusinessRoomArnHasBeenSet = true; m_alexaForBusinessRoomArn.assign(value); }
/**
* <p>The ARN of the room resource.</p>
*/
inline AlexaForBusinessMetadata& WithAlexaForBusinessRoomArn(const Aws::String& value) { SetAlexaForBusinessRoomArn(value); return *this;}
/**
* <p>The ARN of the room resource.</p>
*/
inline AlexaForBusinessMetadata& WithAlexaForBusinessRoomArn(Aws::String&& value) { SetAlexaForBusinessRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room resource.</p>
*/
inline AlexaForBusinessMetadata& WithAlexaForBusinessRoomArn(const char* value) { SetAlexaForBusinessRoomArn(value); return *this;}
private:
bool m_isAlexaForBusinessEnabled;
bool m_isAlexaForBusinessEnabledHasBeenSet;
Aws::String m_alexaForBusinessRoomArn;
bool m_alexaForBusinessRoomArnHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,171 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API AssociatePhoneNumberWithUserRequest : public ChimeRequest
{
public:
AssociatePhoneNumberWithUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociatePhoneNumberWithUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The user ID.</p>
*/
inline const Aws::String& GetUserId() const{ return m_userId; }
/**
* <p>The user ID.</p>
*/
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
/**
* <p>The user ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
/**
* <p>The user ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
/**
* <p>The user ID.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
/**
* <p>The phone number, in E.164 format.</p>
*/
inline const Aws::String& GetE164PhoneNumber() const{ return m_e164PhoneNumber; }
/**
* <p>The phone number, in E.164 format.</p>
*/
inline bool E164PhoneNumberHasBeenSet() const { return m_e164PhoneNumberHasBeenSet; }
/**
* <p>The phone number, in E.164 format.</p>
*/
inline void SetE164PhoneNumber(const Aws::String& value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber = value; }
/**
* <p>The phone number, in E.164 format.</p>
*/
inline void SetE164PhoneNumber(Aws::String&& value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber = std::move(value); }
/**
* <p>The phone number, in E.164 format.</p>
*/
inline void SetE164PhoneNumber(const char* value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber.assign(value); }
/**
* <p>The phone number, in E.164 format.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithE164PhoneNumber(const Aws::String& value) { SetE164PhoneNumber(value); return *this;}
/**
* <p>The phone number, in E.164 format.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithE164PhoneNumber(Aws::String&& value) { SetE164PhoneNumber(std::move(value)); return *this;}
/**
* <p>The phone number, in E.164 format.</p>
*/
inline AssociatePhoneNumberWithUserRequest& WithE164PhoneNumber(const char* value) { SetE164PhoneNumber(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_userId;
bool m_userIdHasBeenSet;
Aws::String m_e164PhoneNumber;
bool m_e164PhoneNumberHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API AssociatePhoneNumberWithUserResult
{
public:
AssociatePhoneNumberWithUserResult();
AssociatePhoneNumberWithUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociatePhoneNumberWithUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,169 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API AssociatePhoneNumbersWithVoiceConnectorGroupRequest : public ChimeRequest
{
public:
AssociatePhoneNumbersWithVoiceConnectorGroupRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociatePhoneNumbersWithVoiceConnectorGroup"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline const Aws::String& GetVoiceConnectorGroupId() const{ return m_voiceConnectorGroupId; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline bool VoiceConnectorGroupIdHasBeenSet() const { return m_voiceConnectorGroupIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const Aws::String& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = value; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(Aws::String&& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const char* value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const Aws::String& value) { SetVoiceConnectorGroupId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(Aws::String&& value) { SetVoiceConnectorGroupId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const char* value) { SetVoiceConnectorGroupId(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline const Aws::Vector<Aws::String>& GetE164PhoneNumbers() const{ return m_e164PhoneNumbers; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline bool E164PhoneNumbersHasBeenSet() const { return m_e164PhoneNumbersHasBeenSet; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = value; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = std::move(value); }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { SetE164PhoneNumbers(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { SetE164PhoneNumbers(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& AddE164PhoneNumbers(const Aws::String& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& AddE164PhoneNumbers(Aws::String&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& AddE164PhoneNumbers(const char* value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector Group and removes any previously existing associations. If
* false, does not associate any phone numbers that have previously existing
* associations.</p>
*/
inline bool GetForceAssociate() const{ return m_forceAssociate; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector Group and removes any previously existing associations. If
* false, does not associate any phone numbers that have previously existing
* associations.</p>
*/
inline bool ForceAssociateHasBeenSet() const { return m_forceAssociateHasBeenSet; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector Group and removes any previously existing associations. If
* false, does not associate any phone numbers that have previously existing
* associations.</p>
*/
inline void SetForceAssociate(bool value) { m_forceAssociateHasBeenSet = true; m_forceAssociate = value; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector Group and removes any previously existing associations. If
* false, does not associate any phone numbers that have previously existing
* associations.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupRequest& WithForceAssociate(bool value) { SetForceAssociate(value); return *this;}
private:
Aws::String m_voiceConnectorGroupId;
bool m_voiceConnectorGroupIdHasBeenSet;
Aws::Vector<Aws::String> m_e164PhoneNumbers;
bool m_e164PhoneNumbersHasBeenSet;
bool m_forceAssociate;
bool m_forceAssociateHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API AssociatePhoneNumbersWithVoiceConnectorGroupResult
{
public:
AssociatePhoneNumbersWithVoiceConnectorGroupResult();
AssociatePhoneNumbersWithVoiceConnectorGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociatePhoneNumbersWithVoiceConnectorGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorGroupResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,165 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API AssociatePhoneNumbersWithVoiceConnectorRequest : public ChimeRequest
{
public:
AssociatePhoneNumbersWithVoiceConnectorRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociatePhoneNumbersWithVoiceConnector"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline const Aws::Vector<Aws::String>& GetE164PhoneNumbers() const{ return m_e164PhoneNumbers; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline bool E164PhoneNumbersHasBeenSet() const { return m_e164PhoneNumbersHasBeenSet; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = value; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = std::move(value); }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { SetE164PhoneNumbers(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { SetE164PhoneNumbers(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& AddE164PhoneNumbers(const Aws::String& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& AddE164PhoneNumbers(Aws::String&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& AddE164PhoneNumbers(const char* value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector and removes any previously existing associations. If false, does
* not associate any phone numbers that have previously existing associations.</p>
*/
inline bool GetForceAssociate() const{ return m_forceAssociate; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector and removes any previously existing associations. If false, does
* not associate any phone numbers that have previously existing associations.</p>
*/
inline bool ForceAssociateHasBeenSet() const { return m_forceAssociateHasBeenSet; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector and removes any previously existing associations. If false, does
* not associate any phone numbers that have previously existing associations.</p>
*/
inline void SetForceAssociate(bool value) { m_forceAssociateHasBeenSet = true; m_forceAssociate = value; }
/**
* <p>If true, associates the provided phone numbers with the provided Amazon Chime
* Voice Connector and removes any previously existing associations. If false, does
* not associate any phone numbers that have previously existing associations.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorRequest& WithForceAssociate(bool value) { SetForceAssociate(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
Aws::Vector<Aws::String> m_e164PhoneNumbers;
bool m_e164PhoneNumbersHasBeenSet;
bool m_forceAssociate;
bool m_forceAssociateHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API AssociatePhoneNumbersWithVoiceConnectorResult
{
public:
AssociatePhoneNumbersWithVoiceConnectorResult();
AssociatePhoneNumbersWithVoiceConnectorResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociatePhoneNumbersWithVoiceConnectorResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline AssociatePhoneNumbersWithVoiceConnectorResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/SigninDelegateGroup.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API AssociateSigninDelegateGroupsWithAccountRequest : public ChimeRequest
{
public:
AssociateSigninDelegateGroupsWithAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociateSigninDelegateGroupsWithAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The sign-in delegate groups.</p>
*/
inline const Aws::Vector<SigninDelegateGroup>& GetSigninDelegateGroups() const{ return m_signinDelegateGroups; }
/**
* <p>The sign-in delegate groups.</p>
*/
inline bool SigninDelegateGroupsHasBeenSet() const { return m_signinDelegateGroupsHasBeenSet; }
/**
* <p>The sign-in delegate groups.</p>
*/
inline void SetSigninDelegateGroups(const Aws::Vector<SigninDelegateGroup>& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = value; }
/**
* <p>The sign-in delegate groups.</p>
*/
inline void SetSigninDelegateGroups(Aws::Vector<SigninDelegateGroup>&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups = std::move(value); }
/**
* <p>The sign-in delegate groups.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& WithSigninDelegateGroups(const Aws::Vector<SigninDelegateGroup>& value) { SetSigninDelegateGroups(value); return *this;}
/**
* <p>The sign-in delegate groups.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& WithSigninDelegateGroups(Aws::Vector<SigninDelegateGroup>&& value) { SetSigninDelegateGroups(std::move(value)); return *this;}
/**
* <p>The sign-in delegate groups.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& AddSigninDelegateGroups(const SigninDelegateGroup& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(value); return *this; }
/**
* <p>The sign-in delegate groups.</p>
*/
inline AssociateSigninDelegateGroupsWithAccountRequest& AddSigninDelegateGroups(SigninDelegateGroup&& value) { m_signinDelegateGroupsHasBeenSet = true; m_signinDelegateGroups.push_back(std::move(value)); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Vector<SigninDelegateGroup> m_signinDelegateGroups;
bool m_signinDelegateGroupsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API AssociateSigninDelegateGroupsWithAccountResult
{
public:
AssociateSigninDelegateGroupsWithAccountResult();
AssociateSigninDelegateGroupsWithAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateSigninDelegateGroupsWithAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,192 @@
/**
* 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>An Amazon Chime SDK meeting attendee. Includes a unique
* <code>AttendeeId</code> and <code>JoinToken</code>. The <code>JoinToken</code>
* allows a client to authenticate and join as the specified attendee. The
* <code>JoinToken</code> expires when the meeting ends or when
* <a>DeleteAttendee</a> is called. After that, the attendee is unable to join the
* meeting.</p> <p>We recommend securely transferring each <code>JoinToken</code>
* from your server application to the client so that no other client has access to
* the token except for the one authorized to represent the attendee.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Attendee">AWS API
* Reference</a></p>
*/
class AWS_CHIME_API Attendee
{
public:
Attendee();
Attendee(Aws::Utils::Json::JsonView jsonValue);
Attendee& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline Attendee& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline Attendee& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline Attendee& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline const Aws::String& GetAttendeeId() const{ return m_attendeeId; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline bool AttendeeIdHasBeenSet() const { return m_attendeeIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(const Aws::String& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = value; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(Aws::String&& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = std::move(value); }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(const char* value) { m_attendeeIdHasBeenSet = true; m_attendeeId.assign(value); }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline Attendee& WithAttendeeId(const Aws::String& value) { SetAttendeeId(value); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline Attendee& WithAttendeeId(Aws::String&& value) { SetAttendeeId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline Attendee& WithAttendeeId(const char* value) { SetAttendeeId(value); return *this;}
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline const Aws::String& GetJoinToken() const{ return m_joinToken; }
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline bool JoinTokenHasBeenSet() const { return m_joinTokenHasBeenSet; }
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline void SetJoinToken(const Aws::String& value) { m_joinTokenHasBeenSet = true; m_joinToken = value; }
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline void SetJoinToken(Aws::String&& value) { m_joinTokenHasBeenSet = true; m_joinToken = std::move(value); }
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline void SetJoinToken(const char* value) { m_joinTokenHasBeenSet = true; m_joinToken.assign(value); }
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline Attendee& WithJoinToken(const Aws::String& value) { SetJoinToken(value); return *this;}
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline Attendee& WithJoinToken(Aws::String&& value) { SetJoinToken(std::move(value)); return *this;}
/**
* <p>The join token used by the Amazon Chime SDK attendee.</p>
*/
inline Attendee& WithJoinToken(const char* value) { SetJoinToken(value); return *this;}
private:
Aws::String m_externalUserId;
bool m_externalUserIdHasBeenSet;
Aws::String m_attendeeId;
bool m_attendeeIdHasBeenSet;
Aws::String m_joinToken;
bool m_joinTokenHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,96 @@
/**
* 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/chime/model/ErrorCode.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 input parameters don't match the service's restrictions.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BadRequestException">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API BadRequestException
{
public:
BadRequestException();
BadRequestException(Aws::Utils::Json::JsonView jsonValue);
BadRequestException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const ErrorCode& GetCode() const{ return m_code; }
inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
inline void SetCode(const ErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
inline void SetCode(ErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
inline BadRequestException& WithCode(const ErrorCode& value) { SetCode(value); return *this;}
inline BadRequestException& WithCode(ErrorCode&& value) { SetCode(std::move(value)); return *this;}
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline BadRequestException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline BadRequestException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline BadRequestException& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
ErrorCode m_code;
bool m_codeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/CreateAttendeeRequestItem.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchCreateAttendeeRequest : public ChimeRequest
{
public:
BatchCreateAttendeeRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchCreateAttendee"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline const Aws::String& GetMeetingId() const{ return m_meetingId; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline bool MeetingIdHasBeenSet() const { return m_meetingIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const Aws::String& value) { m_meetingIdHasBeenSet = true; m_meetingId = value; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(Aws::String&& value) { m_meetingIdHasBeenSet = true; m_meetingId = std::move(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const char* value) { m_meetingIdHasBeenSet = true; m_meetingId.assign(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline BatchCreateAttendeeRequest& WithMeetingId(const Aws::String& value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline BatchCreateAttendeeRequest& WithMeetingId(Aws::String&& value) { SetMeetingId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline BatchCreateAttendeeRequest& WithMeetingId(const char* value) { SetMeetingId(value); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline const Aws::Vector<CreateAttendeeRequestItem>& GetAttendees() const{ return m_attendees; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline bool AttendeesHasBeenSet() const { return m_attendeesHasBeenSet; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline void SetAttendees(const Aws::Vector<CreateAttendeeRequestItem>& value) { m_attendeesHasBeenSet = true; m_attendees = value; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline void SetAttendees(Aws::Vector<CreateAttendeeRequestItem>&& value) { m_attendeesHasBeenSet = true; m_attendees = std::move(value); }
/**
* <p>The request containing the attendees to create.</p>
*/
inline BatchCreateAttendeeRequest& WithAttendees(const Aws::Vector<CreateAttendeeRequestItem>& value) { SetAttendees(value); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline BatchCreateAttendeeRequest& WithAttendees(Aws::Vector<CreateAttendeeRequestItem>&& value) { SetAttendees(std::move(value)); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline BatchCreateAttendeeRequest& AddAttendees(const CreateAttendeeRequestItem& value) { m_attendeesHasBeenSet = true; m_attendees.push_back(value); return *this; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline BatchCreateAttendeeRequest& AddAttendees(CreateAttendeeRequestItem&& value) { m_attendeesHasBeenSet = true; m_attendees.push_back(std::move(value)); return *this; }
private:
Aws::String m_meetingId;
bool m_meetingIdHasBeenSet;
Aws::Vector<CreateAttendeeRequestItem> m_attendees;
bool m_attendeesHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/Attendee.h>
#include <aws/chime/model/CreateAttendeeError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchCreateAttendeeResult
{
public:
BatchCreateAttendeeResult();
BatchCreateAttendeeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchCreateAttendeeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline const Aws::Vector<Attendee>& GetAttendees() const{ return m_attendees; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline void SetAttendees(const Aws::Vector<Attendee>& value) { m_attendees = value; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline void SetAttendees(Aws::Vector<Attendee>&& value) { m_attendees = std::move(value); }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline BatchCreateAttendeeResult& WithAttendees(const Aws::Vector<Attendee>& value) { SetAttendees(value); return *this;}
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline BatchCreateAttendeeResult& WithAttendees(Aws::Vector<Attendee>&& value) { SetAttendees(std::move(value)); return *this;}
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline BatchCreateAttendeeResult& AddAttendees(const Attendee& value) { m_attendees.push_back(value); return *this; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline BatchCreateAttendeeResult& AddAttendees(Attendee&& value) { m_attendees.push_back(std::move(value)); return *this; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline const Aws::Vector<CreateAttendeeError>& GetErrors() const{ return m_errors; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(const Aws::Vector<CreateAttendeeError>& value) { m_errors = value; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(Aws::Vector<CreateAttendeeError>&& value) { m_errors = std::move(value); }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline BatchCreateAttendeeResult& WithErrors(const Aws::Vector<CreateAttendeeError>& value) { SetErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline BatchCreateAttendeeResult& WithErrors(Aws::Vector<CreateAttendeeError>&& value) { SetErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline BatchCreateAttendeeResult& AddErrors(const CreateAttendeeError& value) { m_errors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline BatchCreateAttendeeResult& AddErrors(CreateAttendeeError&& value) { m_errors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Attendee> m_attendees;
Aws::Vector<CreateAttendeeError> m_errors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,173 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/MembershipItem.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchCreateRoomMembershipRequest : public ChimeRequest
{
public:
BatchCreateRoomMembershipRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchCreateRoomMembership"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline const Aws::String& GetRoomId() const{ return m_roomId; }
/**
* <p>The room ID.</p>
*/
inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
/**
* <p>The room ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
/**
* <p>The room ID.</p>
*/
inline BatchCreateRoomMembershipRequest& WithRoomId(const char* value) { SetRoomId(value); return *this;}
/**
* <p>The list of membership items.</p>
*/
inline const Aws::Vector<MembershipItem>& GetMembershipItemList() const{ return m_membershipItemList; }
/**
* <p>The list of membership items.</p>
*/
inline bool MembershipItemListHasBeenSet() const { return m_membershipItemListHasBeenSet; }
/**
* <p>The list of membership items.</p>
*/
inline void SetMembershipItemList(const Aws::Vector<MembershipItem>& value) { m_membershipItemListHasBeenSet = true; m_membershipItemList = value; }
/**
* <p>The list of membership items.</p>
*/
inline void SetMembershipItemList(Aws::Vector<MembershipItem>&& value) { m_membershipItemListHasBeenSet = true; m_membershipItemList = std::move(value); }
/**
* <p>The list of membership items.</p>
*/
inline BatchCreateRoomMembershipRequest& WithMembershipItemList(const Aws::Vector<MembershipItem>& value) { SetMembershipItemList(value); return *this;}
/**
* <p>The list of membership items.</p>
*/
inline BatchCreateRoomMembershipRequest& WithMembershipItemList(Aws::Vector<MembershipItem>&& value) { SetMembershipItemList(std::move(value)); return *this;}
/**
* <p>The list of membership items.</p>
*/
inline BatchCreateRoomMembershipRequest& AddMembershipItemList(const MembershipItem& value) { m_membershipItemListHasBeenSet = true; m_membershipItemList.push_back(value); return *this; }
/**
* <p>The list of membership items.</p>
*/
inline BatchCreateRoomMembershipRequest& AddMembershipItemList(MembershipItem&& value) { m_membershipItemListHasBeenSet = true; m_membershipItemList.push_back(std::move(value)); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_roomId;
bool m_roomIdHasBeenSet;
Aws::Vector<MembershipItem> m_membershipItemList;
bool m_membershipItemListHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/MemberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchCreateRoomMembershipResult
{
public:
BatchCreateRoomMembershipResult();
BatchCreateRoomMembershipResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchCreateRoomMembershipResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline const Aws::Vector<MemberError>& GetErrors() const{ return m_errors; }
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(const Aws::Vector<MemberError>& value) { m_errors = value; }
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(Aws::Vector<MemberError>&& value) { m_errors = std::move(value); }
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline BatchCreateRoomMembershipResult& WithErrors(const Aws::Vector<MemberError>& value) { SetErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline BatchCreateRoomMembershipResult& WithErrors(Aws::Vector<MemberError>&& value) { SetErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline BatchCreateRoomMembershipResult& AddErrors(const MemberError& value) { m_errors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the member IDs in the request, a list
* of the member IDs is returned, along with error codes and error messages.</p>
*/
inline BatchCreateRoomMembershipResult& AddErrors(MemberError&& value) { m_errors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<MemberError> m_errors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchDeletePhoneNumberRequest : public ChimeRequest
{
public:
BatchDeletePhoneNumberRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchDeletePhoneNumber"; }
Aws::String SerializePayload() const override;
/**
* <p>List of phone number IDs.</p>
*/
inline const Aws::Vector<Aws::String>& GetPhoneNumberIds() const{ return m_phoneNumberIds; }
/**
* <p>List of phone number IDs.</p>
*/
inline bool PhoneNumberIdsHasBeenSet() const { return m_phoneNumberIdsHasBeenSet; }
/**
* <p>List of phone number IDs.</p>
*/
inline void SetPhoneNumberIds(const Aws::Vector<Aws::String>& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds = value; }
/**
* <p>List of phone number IDs.</p>
*/
inline void SetPhoneNumberIds(Aws::Vector<Aws::String>&& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds = std::move(value); }
/**
* <p>List of phone number IDs.</p>
*/
inline BatchDeletePhoneNumberRequest& WithPhoneNumberIds(const Aws::Vector<Aws::String>& value) { SetPhoneNumberIds(value); return *this;}
/**
* <p>List of phone number IDs.</p>
*/
inline BatchDeletePhoneNumberRequest& WithPhoneNumberIds(Aws::Vector<Aws::String>&& value) { SetPhoneNumberIds(std::move(value)); return *this;}
/**
* <p>List of phone number IDs.</p>
*/
inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(const Aws::String& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(value); return *this; }
/**
* <p>List of phone number IDs.</p>
*/
inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(Aws::String&& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(std::move(value)); return *this; }
/**
* <p>List of phone number IDs.</p>
*/
inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(const char* value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_phoneNumberIds;
bool m_phoneNumberIdsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchDeletePhoneNumberResult
{
public:
BatchDeletePhoneNumberResult();
BatchDeletePhoneNumberResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchDeletePhoneNumberResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchDeletePhoneNumberResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchDeletePhoneNumberResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchDeletePhoneNumberResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchDeletePhoneNumberResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchSuspendUserRequest : public ChimeRequest
{
public:
BatchSuspendUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchSuspendUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchSuspendUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchSuspendUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchSuspendUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline const Aws::Vector<Aws::String>& GetUserIdList() const{ return m_userIdList; }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline bool UserIdListHasBeenSet() const { return m_userIdListHasBeenSet; }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline void SetUserIdList(const Aws::Vector<Aws::String>& value) { m_userIdListHasBeenSet = true; m_userIdList = value; }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline void SetUserIdList(Aws::Vector<Aws::String>&& value) { m_userIdListHasBeenSet = true; m_userIdList = std::move(value); }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline BatchSuspendUserRequest& WithUserIdList(const Aws::Vector<Aws::String>& value) { SetUserIdList(value); return *this;}
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline BatchSuspendUserRequest& WithUserIdList(Aws::Vector<Aws::String>&& value) { SetUserIdList(std::move(value)); return *this;}
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline BatchSuspendUserRequest& AddUserIdList(const Aws::String& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline BatchSuspendUserRequest& AddUserIdList(Aws::String&& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(std::move(value)); return *this; }
/**
* <p>The request containing the user IDs to suspend.</p>
*/
inline BatchSuspendUserRequest& AddUserIdList(const char* value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Vector<Aws::String> m_userIdList;
bool m_userIdListHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/UserError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchSuspendUserResult
{
public:
BatchSuspendUserResult();
BatchSuspendUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchSuspendUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline const Aws::Vector<UserError>& GetUserErrors() const{ return m_userErrors; }
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(const Aws::Vector<UserError>& value) { m_userErrors = value; }
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(Aws::Vector<UserError>&& value) { m_userErrors = std::move(value); }
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchSuspendUserResult& WithUserErrors(const Aws::Vector<UserError>& value) { SetUserErrors(value); return *this;}
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchSuspendUserResult& WithUserErrors(Aws::Vector<UserError>&& value) { SetUserErrors(std::move(value)); return *this;}
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchSuspendUserResult& AddUserErrors(const UserError& value) { m_userErrors.push_back(value); return *this; }
/**
* <p>If the <a>BatchSuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchSuspendUserResult& AddUserErrors(UserError&& value) { m_userErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<UserError> m_userErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchUnsuspendUserRequest : public ChimeRequest
{
public:
BatchUnsuspendUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchUnsuspendUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUnsuspendUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUnsuspendUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUnsuspendUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline const Aws::Vector<Aws::String>& GetUserIdList() const{ return m_userIdList; }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline bool UserIdListHasBeenSet() const { return m_userIdListHasBeenSet; }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline void SetUserIdList(const Aws::Vector<Aws::String>& value) { m_userIdListHasBeenSet = true; m_userIdList = value; }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline void SetUserIdList(Aws::Vector<Aws::String>&& value) { m_userIdListHasBeenSet = true; m_userIdList = std::move(value); }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline BatchUnsuspendUserRequest& WithUserIdList(const Aws::Vector<Aws::String>& value) { SetUserIdList(value); return *this;}
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline BatchUnsuspendUserRequest& WithUserIdList(Aws::Vector<Aws::String>&& value) { SetUserIdList(std::move(value)); return *this;}
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline BatchUnsuspendUserRequest& AddUserIdList(const Aws::String& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline BatchUnsuspendUserRequest& AddUserIdList(Aws::String&& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(std::move(value)); return *this; }
/**
* <p>The request containing the user IDs to unsuspend.</p>
*/
inline BatchUnsuspendUserRequest& AddUserIdList(const char* value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Vector<Aws::String> m_userIdList;
bool m_userIdListHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/UserError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchUnsuspendUserResult
{
public:
BatchUnsuspendUserResult();
BatchUnsuspendUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchUnsuspendUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline const Aws::Vector<UserError>& GetUserErrors() const{ return m_userErrors; }
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(const Aws::Vector<UserError>& value) { m_userErrors = value; }
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(Aws::Vector<UserError>&& value) { m_userErrors = std::move(value); }
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUnsuspendUserResult& WithUserErrors(const Aws::Vector<UserError>& value) { SetUserErrors(value); return *this;}
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUnsuspendUserResult& WithUserErrors(Aws::Vector<UserError>&& value) { SetUserErrors(std::move(value)); return *this;}
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUnsuspendUserResult& AddUserErrors(const UserError& value) { m_userErrors.push_back(value); return *this; }
/**
* <p>If the <a>BatchUnsuspendUser</a> action fails for one or more of the user IDs
* in the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUnsuspendUserResult& AddUserErrors(UserError&& value) { m_userErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<UserError> m_userErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/UpdatePhoneNumberRequestItem.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchUpdatePhoneNumberRequest : public ChimeRequest
{
public:
BatchUpdatePhoneNumberRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchUpdatePhoneNumber"; }
Aws::String SerializePayload() const override;
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline const Aws::Vector<UpdatePhoneNumberRequestItem>& GetUpdatePhoneNumberRequestItems() const{ return m_updatePhoneNumberRequestItems; }
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline bool UpdatePhoneNumberRequestItemsHasBeenSet() const { return m_updatePhoneNumberRequestItemsHasBeenSet; }
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline void SetUpdatePhoneNumberRequestItems(const Aws::Vector<UpdatePhoneNumberRequestItem>& value) { m_updatePhoneNumberRequestItemsHasBeenSet = true; m_updatePhoneNumberRequestItems = value; }
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline void SetUpdatePhoneNumberRequestItems(Aws::Vector<UpdatePhoneNumberRequestItem>&& value) { m_updatePhoneNumberRequestItemsHasBeenSet = true; m_updatePhoneNumberRequestItems = std::move(value); }
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline BatchUpdatePhoneNumberRequest& WithUpdatePhoneNumberRequestItems(const Aws::Vector<UpdatePhoneNumberRequestItem>& value) { SetUpdatePhoneNumberRequestItems(value); return *this;}
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline BatchUpdatePhoneNumberRequest& WithUpdatePhoneNumberRequestItems(Aws::Vector<UpdatePhoneNumberRequestItem>&& value) { SetUpdatePhoneNumberRequestItems(std::move(value)); return *this;}
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline BatchUpdatePhoneNumberRequest& AddUpdatePhoneNumberRequestItems(const UpdatePhoneNumberRequestItem& value) { m_updatePhoneNumberRequestItemsHasBeenSet = true; m_updatePhoneNumberRequestItems.push_back(value); return *this; }
/**
* <p>The request containing the phone number IDs and product types or calling
* names to update.</p>
*/
inline BatchUpdatePhoneNumberRequest& AddUpdatePhoneNumberRequestItems(UpdatePhoneNumberRequestItem&& value) { m_updatePhoneNumberRequestItemsHasBeenSet = true; m_updatePhoneNumberRequestItems.push_back(std::move(value)); return *this; }
private:
Aws::Vector<UpdatePhoneNumberRequestItem> m_updatePhoneNumberRequestItems;
bool m_updatePhoneNumberRequestItemsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchUpdatePhoneNumberResult
{
public:
BatchUpdatePhoneNumberResult();
BatchUpdatePhoneNumberResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchUpdatePhoneNumberResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchUpdatePhoneNumberResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchUpdatePhoneNumberResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchUpdatePhoneNumberResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline BatchUpdatePhoneNumberResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/UpdateUserRequestItem.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API BatchUpdateUserRequest : public ChimeRequest
{
public:
BatchUpdateUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchUpdateUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUpdateUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUpdateUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline BatchUpdateUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline const Aws::Vector<UpdateUserRequestItem>& GetUpdateUserRequestItems() const{ return m_updateUserRequestItems; }
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline bool UpdateUserRequestItemsHasBeenSet() const { return m_updateUserRequestItemsHasBeenSet; }
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline void SetUpdateUserRequestItems(const Aws::Vector<UpdateUserRequestItem>& value) { m_updateUserRequestItemsHasBeenSet = true; m_updateUserRequestItems = value; }
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline void SetUpdateUserRequestItems(Aws::Vector<UpdateUserRequestItem>&& value) { m_updateUserRequestItemsHasBeenSet = true; m_updateUserRequestItems = std::move(value); }
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline BatchUpdateUserRequest& WithUpdateUserRequestItems(const Aws::Vector<UpdateUserRequestItem>& value) { SetUpdateUserRequestItems(value); return *this;}
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline BatchUpdateUserRequest& WithUpdateUserRequestItems(Aws::Vector<UpdateUserRequestItem>&& value) { SetUpdateUserRequestItems(std::move(value)); return *this;}
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline BatchUpdateUserRequest& AddUpdateUserRequestItems(const UpdateUserRequestItem& value) { m_updateUserRequestItemsHasBeenSet = true; m_updateUserRequestItems.push_back(value); return *this; }
/**
* <p>The request containing the user IDs and details to update.</p>
*/
inline BatchUpdateUserRequest& AddUpdateUserRequestItems(UpdateUserRequestItem&& value) { m_updateUserRequestItemsHasBeenSet = true; m_updateUserRequestItems.push_back(std::move(value)); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Vector<UpdateUserRequestItem> m_updateUserRequestItems;
bool m_updateUserRequestItemsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/UserError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API BatchUpdateUserResult
{
public:
BatchUpdateUserResult();
BatchUpdateUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchUpdateUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline const Aws::Vector<UserError>& GetUserErrors() const{ return m_userErrors; }
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(const Aws::Vector<UserError>& value) { m_userErrors = value; }
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline void SetUserErrors(Aws::Vector<UserError>&& value) { m_userErrors = std::move(value); }
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUpdateUserResult& WithUserErrors(const Aws::Vector<UserError>& value) { SetUserErrors(value); return *this;}
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUpdateUserResult& WithUserErrors(Aws::Vector<UserError>&& value) { SetUserErrors(std::move(value)); return *this;}
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUpdateUserResult& AddUserErrors(const UserError& value) { m_userErrors.push_back(value); return *this; }
/**
* <p>If the <a>BatchUpdateUser</a> action fails for one or more of the user IDs in
* the request, a list of the user IDs is returned, along with error codes and
* error messages.</p>
*/
inline BatchUpdateUserResult& AddUserErrors(UserError&& value) { m_userErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<UserError> m_userErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,401 @@
/**
* 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 <aws/chime/model/BotType.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>A resource that allows Enterprise account administrators to configure an
* interface to receive events from Amazon Chime.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Bot">AWS API
* Reference</a></p>
*/
class AWS_CHIME_API Bot
{
public:
Bot();
Bot(Aws::Utils::Json::JsonView jsonValue);
Bot& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The bot ID.</p>
*/
inline const Aws::String& GetBotId() const{ return m_botId; }
/**
* <p>The bot ID.</p>
*/
inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
/**
* <p>The bot ID.</p>
*/
inline Bot& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
/**
* <p>The bot ID.</p>
*/
inline Bot& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
/**
* <p>The bot ID.</p>
*/
inline Bot& WithBotId(const char* value) { SetBotId(value); return *this;}
/**
* <p>The unique ID for the bot user.</p>
*/
inline const Aws::String& GetUserId() const{ return m_userId; }
/**
* <p>The unique ID for the bot user.</p>
*/
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
/**
* <p>The unique ID for the bot user.</p>
*/
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
/**
* <p>The unique ID for the bot user.</p>
*/
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
/**
* <p>The unique ID for the bot user.</p>
*/
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
/**
* <p>The unique ID for the bot user.</p>
*/
inline Bot& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
/**
* <p>The unique ID for the bot user.</p>
*/
inline Bot& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
/**
* <p>The unique ID for the bot user.</p>
*/
inline Bot& WithUserId(const char* value) { SetUserId(value); return *this;}
/**
* <p>The bot display name.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The bot display name.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The bot display name.</p>
*/
inline Bot& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The bot display name.</p>
*/
inline Bot& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The bot display name.</p>
*/
inline Bot& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The bot type.</p>
*/
inline const BotType& GetBotType() const{ return m_botType; }
/**
* <p>The bot type.</p>
*/
inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; }
/**
* <p>The bot type.</p>
*/
inline void SetBotType(const BotType& value) { m_botTypeHasBeenSet = true; m_botType = value; }
/**
* <p>The bot type.</p>
*/
inline void SetBotType(BotType&& value) { m_botTypeHasBeenSet = true; m_botType = std::move(value); }
/**
* <p>The bot type.</p>
*/
inline Bot& WithBotType(const BotType& value) { SetBotType(value); return *this;}
/**
* <p>The bot type.</p>
*/
inline Bot& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
/**
* <p>When true, the bot is stopped from running in your account.</p>
*/
inline bool GetDisabled() const{ return m_disabled; }
/**
* <p>When true, the bot is stopped from running in your account.</p>
*/
inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
/**
* <p>When true, the bot is stopped from running in your account.</p>
*/
inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
/**
* <p>When true, the bot is stopped from running in your account.</p>
*/
inline Bot& WithDisabled(bool value) { SetDisabled(value); return *this;}
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline Bot& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
/**
* <p>The bot creation timestamp, in ISO 8601 format.</p>
*/
inline Bot& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline Bot& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;}
/**
* <p>The updated bot timestamp, in ISO 8601 format.</p>
*/
inline Bot& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
/**
* <p>The bot email address.</p>
*/
inline const Aws::String& GetBotEmail() const{ return m_botEmail; }
/**
* <p>The bot email address.</p>
*/
inline bool BotEmailHasBeenSet() const { return m_botEmailHasBeenSet; }
/**
* <p>The bot email address.</p>
*/
inline void SetBotEmail(const Aws::String& value) { m_botEmailHasBeenSet = true; m_botEmail = value; }
/**
* <p>The bot email address.</p>
*/
inline void SetBotEmail(Aws::String&& value) { m_botEmailHasBeenSet = true; m_botEmail = std::move(value); }
/**
* <p>The bot email address.</p>
*/
inline void SetBotEmail(const char* value) { m_botEmailHasBeenSet = true; m_botEmail.assign(value); }
/**
* <p>The bot email address.</p>
*/
inline Bot& WithBotEmail(const Aws::String& value) { SetBotEmail(value); return *this;}
/**
* <p>The bot email address.</p>
*/
inline Bot& WithBotEmail(Aws::String&& value) { SetBotEmail(std::move(value)); return *this;}
/**
* <p>The bot email address.</p>
*/
inline Bot& WithBotEmail(const char* value) { SetBotEmail(value); return *this;}
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline const Aws::String& GetSecurityToken() const{ return m_securityToken; }
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline bool SecurityTokenHasBeenSet() const { return m_securityTokenHasBeenSet; }
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline void SetSecurityToken(const Aws::String& value) { m_securityTokenHasBeenSet = true; m_securityToken = value; }
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline void SetSecurityToken(Aws::String&& value) { m_securityTokenHasBeenSet = true; m_securityToken = std::move(value); }
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline void SetSecurityToken(const char* value) { m_securityTokenHasBeenSet = true; m_securityToken.assign(value); }
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline Bot& WithSecurityToken(const Aws::String& value) { SetSecurityToken(value); return *this;}
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline Bot& WithSecurityToken(Aws::String&& value) { SetSecurityToken(std::move(value)); return *this;}
/**
* <p>The security token used to authenticate Amazon Chime with the outgoing event
* endpoint.</p>
*/
inline Bot& WithSecurityToken(const char* value) { SetSecurityToken(value); return *this;}
private:
Aws::String m_botId;
bool m_botIdHasBeenSet;
Aws::String m_userId;
bool m_userIdHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
BotType m_botType;
bool m_botTypeHasBeenSet;
bool m_disabled;
bool m_disabledHasBeenSet;
Aws::Utils::DateTime m_createdTimestamp;
bool m_createdTimestampHasBeenSet;
Aws::Utils::DateTime m_updatedTimestamp;
bool m_updatedTimestampHasBeenSet;
Aws::String m_botEmail;
bool m_botEmailHasBeenSet;
Aws::String m_securityToken;
bool m_securityTokenHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,30 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class BotType
{
NOT_SET,
ChatBot
};
namespace BotTypeMapper
{
AWS_CHIME_API BotType GetBotTypeForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForBotType(BotType value);
} // namespace BotTypeMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* 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 Amazon Chime Business Calling settings for the administrator's AWS
* account. Includes any Amazon S3 buckets designated for storing call detail
* records.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BusinessCallingSettings">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API BusinessCallingSettings
{
public:
BusinessCallingSettings();
BusinessCallingSettings(Aws::Utils::Json::JsonView jsonValue);
BusinessCallingSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline const Aws::String& GetCdrBucket() const{ return m_cdrBucket; }
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline bool CdrBucketHasBeenSet() const { return m_cdrBucketHasBeenSet; }
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline void SetCdrBucket(const Aws::String& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = value; }
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline void SetCdrBucket(Aws::String&& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = std::move(value); }
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline void SetCdrBucket(const char* value) { m_cdrBucketHasBeenSet = true; m_cdrBucket.assign(value); }
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline BusinessCallingSettings& WithCdrBucket(const Aws::String& value) { SetCdrBucket(value); return *this;}
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline BusinessCallingSettings& WithCdrBucket(Aws::String&& value) { SetCdrBucket(std::move(value)); return *this;}
/**
* <p>The Amazon S3 bucket designated for call detail record storage.</p>
*/
inline BusinessCallingSettings& WithCdrBucket(const char* value) { SetCdrBucket(value); return *this;}
private:
Aws::String m_cdrBucket;
bool m_cdrBucketHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,33 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class CallingNameStatus
{
NOT_SET,
Unassigned,
UpdateInProgress,
UpdateSucceeded,
UpdateFailed
};
namespace CallingNameStatusMapper
{
AWS_CHIME_API CallingNameStatus GetCallingNameStatusForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForCallingNameStatus(CallingNameStatus value);
} // namespace CallingNameStatusMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class Capability
{
NOT_SET,
Voice,
SMS
};
namespace CapabilityMapper
{
AWS_CHIME_API Capability GetCapabilityForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForCapability(Capability value);
} // namespace CapabilityMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,96 @@
/**
* 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/chime/model/ErrorCode.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 request could not be processed because of conflict in the current state
* of the resource.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ConflictException">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API ConflictException
{
public:
ConflictException();
ConflictException(Aws::Utils::Json::JsonView jsonValue);
ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const ErrorCode& GetCode() const{ return m_code; }
inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
inline void SetCode(const ErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
inline void SetCode(ErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
inline ConflictException& WithCode(const ErrorCode& value) { SetCode(value); return *this;}
inline ConflictException& WithCode(ErrorCode&& value) { SetCode(std::move(value)); return *this;}
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
ErrorCode m_code;
bool m_codeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>The retention settings that determine how long to retain chat conversation
* messages for an Amazon Chime Enterprise account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ConversationRetentionSettings">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API ConversationRetentionSettings
{
public:
ConversationRetentionSettings();
ConversationRetentionSettings(Aws::Utils::Json::JsonView jsonValue);
ConversationRetentionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The number of days for which to retain chat conversation messages.</p>
*/
inline int GetRetentionDays() const{ return m_retentionDays; }
/**
* <p>The number of days for which to retain chat conversation messages.</p>
*/
inline bool RetentionDaysHasBeenSet() const { return m_retentionDaysHasBeenSet; }
/**
* <p>The number of days for which to retain chat conversation messages.</p>
*/
inline void SetRetentionDays(int value) { m_retentionDaysHasBeenSet = true; m_retentionDays = value; }
/**
* <p>The number of days for which to retain chat conversation messages.</p>
*/
inline ConversationRetentionSettings& WithRetentionDays(int value) { SetRetentionDays(value); return *this;}
private:
int m_retentionDays;
bool m_retentionDaysHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateAccountRequest : public ChimeRequest
{
public:
CreateAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline CreateAccountRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline CreateAccountRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the Amazon Chime account.</p>
*/
inline CreateAccountRequest& WithName(const char* value) { SetName(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/Account.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateAccountResult
{
public:
CreateAccountResult();
CreateAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Chime account details.</p>
*/
inline const Account& GetAccount() const{ return m_account; }
/**
* <p>The Amazon Chime account details.</p>
*/
inline void SetAccount(const Account& value) { m_account = value; }
/**
* <p>The Amazon Chime account details.</p>
*/
inline void SetAccount(Account&& value) { m_account = std::move(value); }
/**
* <p>The Amazon Chime account details.</p>
*/
inline CreateAccountResult& WithAccount(const Account& value) { SetAccount(value); return *this;}
/**
* <p>The Amazon Chime account details.</p>
*/
inline CreateAccountResult& WithAccount(Account&& value) { SetAccount(std::move(value)); return *this;}
private:
Account m_account;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,186 @@
/**
* 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 list of errors returned when errors are encountered during the
* BatchCreateAttendee and CreateAttendee actions. This includes external user IDs,
* error codes, and error messages.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendeeError">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API CreateAttendeeError
{
public:
CreateAttendeeError();
CreateAttendeeError(Aws::Utils::Json::JsonView jsonValue);
CreateAttendeeError& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeError& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeError& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeError& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;}
/**
* <p>The error code.</p>
*/
inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
/**
* <p>The error code.</p>
*/
inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
/**
* <p>The error code.</p>
*/
inline CreateAttendeeError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
/**
* <p>The error code.</p>
*/
inline CreateAttendeeError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
/**
* <p>The error code.</p>
*/
inline CreateAttendeeError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
/**
* <p>The error message.</p>
*/
inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
/**
* <p>The error message.</p>
*/
inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
/**
* <p>The error message.</p>
*/
inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
/**
* <p>The error message.</p>
*/
inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
/**
* <p>The error message.</p>
*/
inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
/**
* <p>The error message.</p>
*/
inline CreateAttendeeError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
/**
* <p>The error message.</p>
*/
inline CreateAttendeeError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
/**
* <p>The error message.</p>
*/
inline CreateAttendeeError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
private:
Aws::String m_externalUserId;
bool m_externalUserIdHasBeenSet;
Aws::String m_errorCode;
bool m_errorCodeHasBeenSet;
Aws::String m_errorMessage;
bool m_errorMessageHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,181 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/Tag.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateAttendeeRequest : public ChimeRequest
{
public:
CreateAttendeeRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateAttendee"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline const Aws::String& GetMeetingId() const{ return m_meetingId; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline bool MeetingIdHasBeenSet() const { return m_meetingIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const Aws::String& value) { m_meetingIdHasBeenSet = true; m_meetingId = value; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(Aws::String&& value) { m_meetingIdHasBeenSet = true; m_meetingId = std::move(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const char* value) { m_meetingIdHasBeenSet = true; m_meetingId.assign(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline CreateAttendeeRequest& WithMeetingId(const Aws::String& value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline CreateAttendeeRequest& WithMeetingId(Aws::String&& value) { SetMeetingId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline CreateAttendeeRequest& WithMeetingId(const char* value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequest& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequest& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequest& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tag key-value pairs.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_meetingId;
bool m_meetingIdHasBeenSet;
Aws::String m_externalUserId;
bool m_externalUserIdHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* 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 <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/Tag.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>The Amazon Chime SDK attendee fields to create, used with the
* BatchCreateAttendee action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendeeRequestItem">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API CreateAttendeeRequestItem
{
public:
CreateAttendeeRequestItem();
CreateAttendeeRequestItem(Aws::Utils::Json::JsonView jsonValue);
CreateAttendeeRequestItem& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); }
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequestItem& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequestItem& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK external user ID. Links the attendee to an identity
* managed by a builder application.</p>
*/
inline CreateAttendeeRequestItem& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tag key-value pairs.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequestItem& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequestItem& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequestItem& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateAttendeeRequestItem& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_externalUserId;
bool m_externalUserIdHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/Attendee.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateAttendeeResult
{
public:
CreateAttendeeResult();
CreateAttendeeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateAttendeeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The attendee information, including attendee ID and join token.</p>
*/
inline const Attendee& GetAttendee() const{ return m_attendee; }
/**
* <p>The attendee information, including attendee ID and join token.</p>
*/
inline void SetAttendee(const Attendee& value) { m_attendee = value; }
/**
* <p>The attendee information, including attendee ID and join token.</p>
*/
inline void SetAttendee(Attendee&& value) { m_attendee = std::move(value); }
/**
* <p>The attendee information, including attendee ID and join token.</p>
*/
inline CreateAttendeeResult& WithAttendee(const Attendee& value) { SetAttendee(value); return *this;}
/**
* <p>The attendee information, including attendee ID and join token.</p>
*/
inline CreateAttendeeResult& WithAttendee(Attendee&& value) { SetAttendee(std::move(value)); return *this;}
private:
Attendee m_attendee;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,171 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateBotRequest : public ChimeRequest
{
public:
CreateBotRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateBot"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateBotRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateBotRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateBotRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The bot display name.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The bot display name.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The bot display name.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The bot display name.</p>
*/
inline CreateBotRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The bot display name.</p>
*/
inline CreateBotRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The bot display name.</p>
*/
inline CreateBotRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline const Aws::String& GetDomain() const{ return m_domain; }
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline CreateBotRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline CreateBotRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
/**
* <p>The domain of the Amazon Chime Enterprise account.</p>
*/
inline CreateBotRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_domain;
bool m_domainHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/Bot.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateBotResult
{
public:
CreateBotResult();
CreateBotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateBotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The bot details.</p>
*/
inline const Bot& GetBot() const{ return m_bot; }
/**
* <p>The bot details.</p>
*/
inline void SetBot(const Bot& value) { m_bot = value; }
/**
* <p>The bot details.</p>
*/
inline void SetBot(Bot&& value) { m_bot = std::move(value); }
/**
* <p>The bot details.</p>
*/
inline CreateBotResult& WithBot(const Bot& value) { SetBot(value); return *this;}
/**
* <p>The bot details.</p>
*/
inline CreateBotResult& WithBot(Bot&& value) { SetBot(std::move(value)); return *this;}
private:
Bot m_bot;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,375 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/MeetingNotificationConfiguration.h>
#include <aws/chime/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateMeetingRequest : public ChimeRequest
{
public:
CreateMeetingRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateMeeting"; }
Aws::String SerializePayload() const override;
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline const Aws::String& GetExternalMeetingId() const{ return m_externalMeetingId; }
/**
* <p>The external meeting ID.</p>
*/
inline bool ExternalMeetingIdHasBeenSet() const { return m_externalMeetingIdHasBeenSet; }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(const Aws::String& value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId = value; }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(Aws::String&& value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId = std::move(value); }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(const char* value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId.assign(value); }
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingRequest& WithExternalMeetingId(const Aws::String& value) { SetExternalMeetingId(value); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingRequest& WithExternalMeetingId(Aws::String&& value) { SetExternalMeetingId(std::move(value)); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingRequest& WithExternalMeetingId(const char* value) { SetExternalMeetingId(value); return *this;}
/**
* <p>Reserved.</p>
*/
inline const Aws::String& GetMeetingHostId() const{ return m_meetingHostId; }
/**
* <p>Reserved.</p>
*/
inline bool MeetingHostIdHasBeenSet() const { return m_meetingHostIdHasBeenSet; }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(const Aws::String& value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId = value; }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(Aws::String&& value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId = std::move(value); }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(const char* value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId.assign(value); }
/**
* <p>Reserved.</p>
*/
inline CreateMeetingRequest& WithMeetingHostId(const Aws::String& value) { SetMeetingHostId(value); return *this;}
/**
* <p>Reserved.</p>
*/
inline CreateMeetingRequest& WithMeetingHostId(Aws::String&& value) { SetMeetingHostId(std::move(value)); return *this;}
/**
* <p>Reserved.</p>
*/
inline CreateMeetingRequest& WithMeetingHostId(const char* value) { SetMeetingHostId(value); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline const Aws::String& GetMediaRegion() const{ return m_mediaRegion; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline bool MediaRegionHasBeenSet() const { return m_mediaRegionHasBeenSet; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(const Aws::String& value) { m_mediaRegionHasBeenSet = true; m_mediaRegion = value; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(Aws::String&& value) { m_mediaRegionHasBeenSet = true; m_mediaRegion = std::move(value); }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(const char* value) { m_mediaRegionHasBeenSet = true; m_mediaRegion.assign(value); }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingRequest& WithMediaRegion(const Aws::String& value) { SetMediaRegion(value); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingRequest& WithMediaRegion(Aws::String&& value) { SetMediaRegion(std::move(value)); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingRequest& WithMediaRegion(const char* value) { SetMediaRegion(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tag key-value pairs.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline const MeetingNotificationConfiguration& GetNotificationsConfiguration() const{ return m_notificationsConfiguration; }
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline bool NotificationsConfigurationHasBeenSet() const { return m_notificationsConfigurationHasBeenSet; }
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline void SetNotificationsConfiguration(const MeetingNotificationConfiguration& value) { m_notificationsConfigurationHasBeenSet = true; m_notificationsConfiguration = value; }
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline void SetNotificationsConfiguration(MeetingNotificationConfiguration&& value) { m_notificationsConfigurationHasBeenSet = true; m_notificationsConfiguration = std::move(value); }
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline CreateMeetingRequest& WithNotificationsConfiguration(const MeetingNotificationConfiguration& value) { SetNotificationsConfiguration(value); return *this;}
/**
* <p>The configuration for resource targets to receive notifications when meeting
* and attendee events occur.</p>
*/
inline CreateMeetingRequest& WithNotificationsConfiguration(MeetingNotificationConfiguration&& value) { SetNotificationsConfiguration(std::move(value)); return *this;}
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_externalMeetingId;
bool m_externalMeetingIdHasBeenSet;
Aws::String m_meetingHostId;
bool m_meetingHostIdHasBeenSet;
Aws::String m_mediaRegion;
bool m_mediaRegionHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
MeetingNotificationConfiguration m_notificationsConfiguration;
bool m_notificationsConfigurationHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,72 @@
/**
* 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/chime/model/Meeting.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateMeetingResult
{
public:
CreateMeetingResult();
CreateMeetingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateMeetingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The meeting information, including the meeting ID and
* <code>MediaPlacement</code>.</p>
*/
inline const Meeting& GetMeeting() const{ return m_meeting; }
/**
* <p>The meeting information, including the meeting ID and
* <code>MediaPlacement</code>.</p>
*/
inline void SetMeeting(const Meeting& value) { m_meeting = value; }
/**
* <p>The meeting information, including the meeting ID and
* <code>MediaPlacement</code>.</p>
*/
inline void SetMeeting(Meeting&& value) { m_meeting = std::move(value); }
/**
* <p>The meeting information, including the meeting ID and
* <code>MediaPlacement</code>.</p>
*/
inline CreateMeetingResult& WithMeeting(const Meeting& value) { SetMeeting(value); return *this;}
/**
* <p>The meeting information, including the meeting ID and
* <code>MediaPlacement</code>.</p>
*/
inline CreateMeetingResult& WithMeeting(Meeting&& value) { SetMeeting(std::move(value)); return *this;}
private:
Meeting m_meeting;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,402 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/MeetingNotificationConfiguration.h>
#include <aws/chime/model/Tag.h>
#include <aws/chime/model/CreateAttendeeRequestItem.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateMeetingWithAttendeesRequest : public ChimeRequest
{
public:
CreateMeetingWithAttendeesRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateMeetingWithAttendees"; }
Aws::String SerializePayload() const override;
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The unique identifier for the client request. Use a different token for
* different meetings.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline const Aws::String& GetExternalMeetingId() const{ return m_externalMeetingId; }
/**
* <p>The external meeting ID.</p>
*/
inline bool ExternalMeetingIdHasBeenSet() const { return m_externalMeetingIdHasBeenSet; }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(const Aws::String& value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId = value; }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(Aws::String&& value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId = std::move(value); }
/**
* <p>The external meeting ID.</p>
*/
inline void SetExternalMeetingId(const char* value) { m_externalMeetingIdHasBeenSet = true; m_externalMeetingId.assign(value); }
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithExternalMeetingId(const Aws::String& value) { SetExternalMeetingId(value); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithExternalMeetingId(Aws::String&& value) { SetExternalMeetingId(std::move(value)); return *this;}
/**
* <p>The external meeting ID.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithExternalMeetingId(const char* value) { SetExternalMeetingId(value); return *this;}
/**
* <p>Reserved.</p>
*/
inline const Aws::String& GetMeetingHostId() const{ return m_meetingHostId; }
/**
* <p>Reserved.</p>
*/
inline bool MeetingHostIdHasBeenSet() const { return m_meetingHostIdHasBeenSet; }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(const Aws::String& value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId = value; }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(Aws::String&& value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId = std::move(value); }
/**
* <p>Reserved.</p>
*/
inline void SetMeetingHostId(const char* value) { m_meetingHostIdHasBeenSet = true; m_meetingHostId.assign(value); }
/**
* <p>Reserved.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMeetingHostId(const Aws::String& value) { SetMeetingHostId(value); return *this;}
/**
* <p>Reserved.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMeetingHostId(Aws::String&& value) { SetMeetingHostId(std::move(value)); return *this;}
/**
* <p>Reserved.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMeetingHostId(const char* value) { SetMeetingHostId(value); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline const Aws::String& GetMediaRegion() const{ return m_mediaRegion; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline bool MediaRegionHasBeenSet() const { return m_mediaRegionHasBeenSet; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(const Aws::String& value) { m_mediaRegionHasBeenSet = true; m_mediaRegion = value; }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(Aws::String&& value) { m_mediaRegionHasBeenSet = true; m_mediaRegion = std::move(value); }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline void SetMediaRegion(const char* value) { m_mediaRegionHasBeenSet = true; m_mediaRegion.assign(value); }
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMediaRegion(const Aws::String& value) { SetMediaRegion(value); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMediaRegion(Aws::String&& value) { SetMediaRegion(std::move(value)); return *this;}
/**
* <p>The Region in which to create the meeting. Default:
* <code>us-east-1</code>.</p> <p>Available values: <code>af-south-1</code>,
* <code>ap-northeast-1</code>, <code>ap-northeast-2</code>,
* <code>ap-south-1</code>, <code>ap-southeast-1</code>,
* <code>ap-southeast-2</code>, <code>ca-central-1</code>,
* <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>,
* <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>,
* <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>,
* <code>us-west-1</code>, <code>us-west-2</code>.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithMediaRegion(const char* value) { SetMediaRegion(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tag key-value pairs.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tag key-value pairs.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingWithAttendeesRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tag key-value pairs.</p>
*/
inline CreateMeetingWithAttendeesRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
inline const MeetingNotificationConfiguration& GetNotificationsConfiguration() const{ return m_notificationsConfiguration; }
inline bool NotificationsConfigurationHasBeenSet() const { return m_notificationsConfigurationHasBeenSet; }
inline void SetNotificationsConfiguration(const MeetingNotificationConfiguration& value) { m_notificationsConfigurationHasBeenSet = true; m_notificationsConfiguration = value; }
inline void SetNotificationsConfiguration(MeetingNotificationConfiguration&& value) { m_notificationsConfigurationHasBeenSet = true; m_notificationsConfiguration = std::move(value); }
inline CreateMeetingWithAttendeesRequest& WithNotificationsConfiguration(const MeetingNotificationConfiguration& value) { SetNotificationsConfiguration(value); return *this;}
inline CreateMeetingWithAttendeesRequest& WithNotificationsConfiguration(MeetingNotificationConfiguration&& value) { SetNotificationsConfiguration(std::move(value)); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline const Aws::Vector<CreateAttendeeRequestItem>& GetAttendees() const{ return m_attendees; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline bool AttendeesHasBeenSet() const { return m_attendeesHasBeenSet; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline void SetAttendees(const Aws::Vector<CreateAttendeeRequestItem>& value) { m_attendeesHasBeenSet = true; m_attendees = value; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline void SetAttendees(Aws::Vector<CreateAttendeeRequestItem>&& value) { m_attendeesHasBeenSet = true; m_attendees = std::move(value); }
/**
* <p>The request containing the attendees to create.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithAttendees(const Aws::Vector<CreateAttendeeRequestItem>& value) { SetAttendees(value); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline CreateMeetingWithAttendeesRequest& WithAttendees(Aws::Vector<CreateAttendeeRequestItem>&& value) { SetAttendees(std::move(value)); return *this;}
/**
* <p>The request containing the attendees to create.</p>
*/
inline CreateMeetingWithAttendeesRequest& AddAttendees(const CreateAttendeeRequestItem& value) { m_attendeesHasBeenSet = true; m_attendees.push_back(value); return *this; }
/**
* <p>The request containing the attendees to create.</p>
*/
inline CreateMeetingWithAttendeesRequest& AddAttendees(CreateAttendeeRequestItem&& value) { m_attendeesHasBeenSet = true; m_attendees.push_back(std::move(value)); return *this; }
private:
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::String m_externalMeetingId;
bool m_externalMeetingIdHasBeenSet;
Aws::String m_meetingHostId;
bool m_meetingHostIdHasBeenSet;
Aws::String m_mediaRegion;
bool m_mediaRegionHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
MeetingNotificationConfiguration m_notificationsConfiguration;
bool m_notificationsConfigurationHasBeenSet;
Aws::Vector<CreateAttendeeRequestItem> m_attendees;
bool m_attendeesHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* 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/chime/model/Meeting.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/Attendee.h>
#include <aws/chime/model/CreateAttendeeError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateMeetingWithAttendeesResult
{
public:
CreateMeetingWithAttendeesResult();
CreateMeetingWithAttendeesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateMeetingWithAttendeesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const Meeting& GetMeeting() const{ return m_meeting; }
inline void SetMeeting(const Meeting& value) { m_meeting = value; }
inline void SetMeeting(Meeting&& value) { m_meeting = std::move(value); }
inline CreateMeetingWithAttendeesResult& WithMeeting(const Meeting& value) { SetMeeting(value); return *this;}
inline CreateMeetingWithAttendeesResult& WithMeeting(Meeting&& value) { SetMeeting(std::move(value)); return *this;}
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline const Aws::Vector<Attendee>& GetAttendees() const{ return m_attendees; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline void SetAttendees(const Aws::Vector<Attendee>& value) { m_attendees = value; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline void SetAttendees(Aws::Vector<Attendee>&& value) { m_attendees = std::move(value); }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline CreateMeetingWithAttendeesResult& WithAttendees(const Aws::Vector<Attendee>& value) { SetAttendees(value); return *this;}
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline CreateMeetingWithAttendeesResult& WithAttendees(Aws::Vector<Attendee>&& value) { SetAttendees(std::move(value)); return *this;}
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline CreateMeetingWithAttendeesResult& AddAttendees(const Attendee& value) { m_attendees.push_back(value); return *this; }
/**
* <p>The attendee information, including attendees IDs and join tokens.</p>
*/
inline CreateMeetingWithAttendeesResult& AddAttendees(Attendee&& value) { m_attendees.push_back(std::move(value)); return *this; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline const Aws::Vector<CreateAttendeeError>& GetErrors() const{ return m_errors; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(const Aws::Vector<CreateAttendeeError>& value) { m_errors = value; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline void SetErrors(Aws::Vector<CreateAttendeeError>&& value) { m_errors = std::move(value); }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline CreateMeetingWithAttendeesResult& WithErrors(const Aws::Vector<CreateAttendeeError>& value) { SetErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline CreateMeetingWithAttendeesResult& WithErrors(Aws::Vector<CreateAttendeeError>&& value) { SetErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline CreateMeetingWithAttendeesResult& AddErrors(const CreateAttendeeError& value) { m_errors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the attendees in the request, a list
* of the attendees is returned, along with error codes and error messages.</p>
*/
inline CreateMeetingWithAttendeesResult& AddErrors(CreateAttendeeError&& value) { m_errors.push_back(std::move(value)); return *this; }
private:
Meeting m_meeting;
Aws::Vector<Attendee> m_attendees;
Aws::Vector<CreateAttendeeError> m_errors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/chime/model/PhoneNumberProductType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreatePhoneNumberOrderRequest : public ChimeRequest
{
public:
CreatePhoneNumberOrderRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreatePhoneNumberOrder"; }
Aws::String SerializePayload() const override;
/**
* <p>The phone number product type.</p>
*/
inline const PhoneNumberProductType& GetProductType() const{ return m_productType; }
/**
* <p>The phone number product type.</p>
*/
inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
/**
* <p>The phone number product type.</p>
*/
inline void SetProductType(const PhoneNumberProductType& value) { m_productTypeHasBeenSet = true; m_productType = value; }
/**
* <p>The phone number product type.</p>
*/
inline void SetProductType(PhoneNumberProductType&& value) { m_productTypeHasBeenSet = true; m_productType = std::move(value); }
/**
* <p>The phone number product type.</p>
*/
inline CreatePhoneNumberOrderRequest& WithProductType(const PhoneNumberProductType& value) { SetProductType(value); return *this;}
/**
* <p>The phone number product type.</p>
*/
inline CreatePhoneNumberOrderRequest& WithProductType(PhoneNumberProductType&& value) { SetProductType(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline const Aws::Vector<Aws::String>& GetE164PhoneNumbers() const{ return m_e164PhoneNumbers; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline bool E164PhoneNumbersHasBeenSet() const { return m_e164PhoneNumbersHasBeenSet; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = value; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = std::move(value); }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline CreatePhoneNumberOrderRequest& WithE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { SetE164PhoneNumbers(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline CreatePhoneNumberOrderRequest& WithE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { SetE164PhoneNumbers(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline CreatePhoneNumberOrderRequest& AddE164PhoneNumbers(const Aws::String& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline CreatePhoneNumberOrderRequest& AddE164PhoneNumbers(Aws::String&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline CreatePhoneNumberOrderRequest& AddE164PhoneNumbers(const char* value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
private:
PhoneNumberProductType m_productType;
bool m_productTypeHasBeenSet;
Aws::Vector<Aws::String> m_e164PhoneNumbers;
bool m_e164PhoneNumbersHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/PhoneNumberOrder.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreatePhoneNumberOrderResult
{
public:
CreatePhoneNumberOrderResult();
CreatePhoneNumberOrderResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreatePhoneNumberOrderResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The phone number order details.</p>
*/
inline const PhoneNumberOrder& GetPhoneNumberOrder() const{ return m_phoneNumberOrder; }
/**
* <p>The phone number order details.</p>
*/
inline void SetPhoneNumberOrder(const PhoneNumberOrder& value) { m_phoneNumberOrder = value; }
/**
* <p>The phone number order details.</p>
*/
inline void SetPhoneNumberOrder(PhoneNumberOrder&& value) { m_phoneNumberOrder = std::move(value); }
/**
* <p>The phone number order details.</p>
*/
inline CreatePhoneNumberOrderResult& WithPhoneNumberOrder(const PhoneNumberOrder& value) { SetPhoneNumberOrder(value); return *this;}
/**
* <p>The phone number order details.</p>
*/
inline CreatePhoneNumberOrderResult& WithPhoneNumberOrder(PhoneNumberOrder&& value) { SetPhoneNumberOrder(std::move(value)); return *this;}
private:
PhoneNumberOrder m_phoneNumberOrder;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,363 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/NumberSelectionBehavior.h>
#include <aws/chime/model/GeoMatchLevel.h>
#include <aws/chime/model/GeoMatchParams.h>
#include <aws/chime/model/Capability.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateProxySessionRequest : public ChimeRequest
{
public:
CreateProxySessionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateProxySession"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline CreateProxySessionRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline CreateProxySessionRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline CreateProxySessionRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The participant phone numbers.</p>
*/
inline const Aws::Vector<Aws::String>& GetParticipantPhoneNumbers() const{ return m_participantPhoneNumbers; }
/**
* <p>The participant phone numbers.</p>
*/
inline bool ParticipantPhoneNumbersHasBeenSet() const { return m_participantPhoneNumbersHasBeenSet; }
/**
* <p>The participant phone numbers.</p>
*/
inline void SetParticipantPhoneNumbers(const Aws::Vector<Aws::String>& value) { m_participantPhoneNumbersHasBeenSet = true; m_participantPhoneNumbers = value; }
/**
* <p>The participant phone numbers.</p>
*/
inline void SetParticipantPhoneNumbers(Aws::Vector<Aws::String>&& value) { m_participantPhoneNumbersHasBeenSet = true; m_participantPhoneNumbers = std::move(value); }
/**
* <p>The participant phone numbers.</p>
*/
inline CreateProxySessionRequest& WithParticipantPhoneNumbers(const Aws::Vector<Aws::String>& value) { SetParticipantPhoneNumbers(value); return *this;}
/**
* <p>The participant phone numbers.</p>
*/
inline CreateProxySessionRequest& WithParticipantPhoneNumbers(Aws::Vector<Aws::String>&& value) { SetParticipantPhoneNumbers(std::move(value)); return *this;}
/**
* <p>The participant phone numbers.</p>
*/
inline CreateProxySessionRequest& AddParticipantPhoneNumbers(const Aws::String& value) { m_participantPhoneNumbersHasBeenSet = true; m_participantPhoneNumbers.push_back(value); return *this; }
/**
* <p>The participant phone numbers.</p>
*/
inline CreateProxySessionRequest& AddParticipantPhoneNumbers(Aws::String&& value) { m_participantPhoneNumbersHasBeenSet = true; m_participantPhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>The participant phone numbers.</p>
*/
inline CreateProxySessionRequest& AddParticipantPhoneNumbers(const char* value) { m_participantPhoneNumbersHasBeenSet = true; m_participantPhoneNumbers.push_back(value); return *this; }
/**
* <p>The name of the proxy session.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the proxy session.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the proxy session.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the proxy session.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the proxy session.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the proxy session.</p>
*/
inline CreateProxySessionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the proxy session.</p>
*/
inline CreateProxySessionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the proxy session.</p>
*/
inline CreateProxySessionRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The number of minutes allowed for the proxy session.</p>
*/
inline int GetExpiryMinutes() const{ return m_expiryMinutes; }
/**
* <p>The number of minutes allowed for the proxy session.</p>
*/
inline bool ExpiryMinutesHasBeenSet() const { return m_expiryMinutesHasBeenSet; }
/**
* <p>The number of minutes allowed for the proxy session.</p>
*/
inline void SetExpiryMinutes(int value) { m_expiryMinutesHasBeenSet = true; m_expiryMinutes = value; }
/**
* <p>The number of minutes allowed for the proxy session.</p>
*/
inline CreateProxySessionRequest& WithExpiryMinutes(int value) { SetExpiryMinutes(value); return *this;}
/**
* <p>The proxy session capabilities.</p>
*/
inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
/**
* <p>The proxy session capabilities.</p>
*/
inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
/**
* <p>The proxy session capabilities.</p>
*/
inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
/**
* <p>The proxy session capabilities.</p>
*/
inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
/**
* <p>The proxy session capabilities.</p>
*/
inline CreateProxySessionRequest& WithCapabilities(const Aws::Vector<Capability>& value) { SetCapabilities(value); return *this;}
/**
* <p>The proxy session capabilities.</p>
*/
inline CreateProxySessionRequest& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
/**
* <p>The proxy session capabilities.</p>
*/
inline CreateProxySessionRequest& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
/**
* <p>The proxy session capabilities.</p>
*/
inline CreateProxySessionRequest& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline const NumberSelectionBehavior& GetNumberSelectionBehavior() const{ return m_numberSelectionBehavior; }
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline bool NumberSelectionBehaviorHasBeenSet() const { return m_numberSelectionBehaviorHasBeenSet; }
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline void SetNumberSelectionBehavior(const NumberSelectionBehavior& value) { m_numberSelectionBehaviorHasBeenSet = true; m_numberSelectionBehavior = value; }
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline void SetNumberSelectionBehavior(NumberSelectionBehavior&& value) { m_numberSelectionBehaviorHasBeenSet = true; m_numberSelectionBehavior = std::move(value); }
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline CreateProxySessionRequest& WithNumberSelectionBehavior(const NumberSelectionBehavior& value) { SetNumberSelectionBehavior(value); return *this;}
/**
* <p>The preference for proxy phone number reuse, or stickiness, between the same
* participants across sessions.</p>
*/
inline CreateProxySessionRequest& WithNumberSelectionBehavior(NumberSelectionBehavior&& value) { SetNumberSelectionBehavior(std::move(value)); return *this;}
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline const GeoMatchLevel& GetGeoMatchLevel() const{ return m_geoMatchLevel; }
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline bool GeoMatchLevelHasBeenSet() const { return m_geoMatchLevelHasBeenSet; }
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline void SetGeoMatchLevel(const GeoMatchLevel& value) { m_geoMatchLevelHasBeenSet = true; m_geoMatchLevel = value; }
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline void SetGeoMatchLevel(GeoMatchLevel&& value) { m_geoMatchLevelHasBeenSet = true; m_geoMatchLevel = std::move(value); }
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline CreateProxySessionRequest& WithGeoMatchLevel(const GeoMatchLevel& value) { SetGeoMatchLevel(value); return *this;}
/**
* <p>The preference for matching the country or area code of the proxy phone
* number with that of the first participant.</p>
*/
inline CreateProxySessionRequest& WithGeoMatchLevel(GeoMatchLevel&& value) { SetGeoMatchLevel(std::move(value)); return *this;}
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline const GeoMatchParams& GetGeoMatchParams() const{ return m_geoMatchParams; }
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline bool GeoMatchParamsHasBeenSet() const { return m_geoMatchParamsHasBeenSet; }
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline void SetGeoMatchParams(const GeoMatchParams& value) { m_geoMatchParamsHasBeenSet = true; m_geoMatchParams = value; }
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline void SetGeoMatchParams(GeoMatchParams&& value) { m_geoMatchParamsHasBeenSet = true; m_geoMatchParams = std::move(value); }
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline CreateProxySessionRequest& WithGeoMatchParams(const GeoMatchParams& value) { SetGeoMatchParams(value); return *this;}
/**
* <p>The country and area code for the proxy phone number.</p>
*/
inline CreateProxySessionRequest& WithGeoMatchParams(GeoMatchParams&& value) { SetGeoMatchParams(std::move(value)); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
Aws::Vector<Aws::String> m_participantPhoneNumbers;
bool m_participantPhoneNumbersHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
int m_expiryMinutes;
bool m_expiryMinutesHasBeenSet;
Aws::Vector<Capability> m_capabilities;
bool m_capabilitiesHasBeenSet;
NumberSelectionBehavior m_numberSelectionBehavior;
bool m_numberSelectionBehaviorHasBeenSet;
GeoMatchLevel m_geoMatchLevel;
bool m_geoMatchLevelHasBeenSet;
GeoMatchParams m_geoMatchParams;
bool m_geoMatchParamsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/ProxySession.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateProxySessionResult
{
public:
CreateProxySessionResult();
CreateProxySessionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProxySessionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The proxy session details.</p>
*/
inline const ProxySession& GetProxySession() const{ return m_proxySession; }
/**
* <p>The proxy session details.</p>
*/
inline void SetProxySession(const ProxySession& value) { m_proxySession = value; }
/**
* <p>The proxy session details.</p>
*/
inline void SetProxySession(ProxySession&& value) { m_proxySession = std::move(value); }
/**
* <p>The proxy session details.</p>
*/
inline CreateProxySessionResult& WithProxySession(const ProxySession& value) { SetProxySession(value); return *this;}
/**
* <p>The proxy session details.</p>
*/
inline CreateProxySessionResult& WithProxySession(ProxySession&& value) { SetProxySession(std::move(value)); return *this;}
private:
ProxySession m_proxySession;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,206 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/chime/model/RoomMembershipRole.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateRoomMembershipRequest : public ChimeRequest
{
public:
CreateRoomMembershipRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateRoomMembership"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomMembershipRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomMembershipRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomMembershipRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline const Aws::String& GetRoomId() const{ return m_roomId; }
/**
* <p>The room ID.</p>
*/
inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
/**
* <p>The room ID.</p>
*/
inline CreateRoomMembershipRequest& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline CreateRoomMembershipRequest& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
/**
* <p>The room ID.</p>
*/
inline CreateRoomMembershipRequest& WithRoomId(const char* value) { SetRoomId(value); return *this;}
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline const Aws::String& GetMemberId() const{ return m_memberId; }
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline CreateRoomMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline CreateRoomMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime member ID (user ID or bot ID).</p>
*/
inline CreateRoomMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
/**
* <p>The role of the member.</p>
*/
inline const RoomMembershipRole& GetRole() const{ return m_role; }
/**
* <p>The role of the member.</p>
*/
inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
/**
* <p>The role of the member.</p>
*/
inline void SetRole(const RoomMembershipRole& value) { m_roleHasBeenSet = true; m_role = value; }
/**
* <p>The role of the member.</p>
*/
inline void SetRole(RoomMembershipRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
/**
* <p>The role of the member.</p>
*/
inline CreateRoomMembershipRequest& WithRole(const RoomMembershipRole& value) { SetRole(value); return *this;}
/**
* <p>The role of the member.</p>
*/
inline CreateRoomMembershipRequest& WithRole(RoomMembershipRole&& value) { SetRole(std::move(value)); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_roomId;
bool m_roomIdHasBeenSet;
Aws::String m_memberId;
bool m_memberIdHasBeenSet;
RoomMembershipRole m_role;
bool m_roleHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/RoomMembership.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateRoomMembershipResult
{
public:
CreateRoomMembershipResult();
CreateRoomMembershipResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateRoomMembershipResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The room membership details.</p>
*/
inline const RoomMembership& GetRoomMembership() const{ return m_roomMembership; }
/**
* <p>The room membership details.</p>
*/
inline void SetRoomMembership(const RoomMembership& value) { m_roomMembership = value; }
/**
* <p>The room membership details.</p>
*/
inline void SetRoomMembership(RoomMembership&& value) { m_roomMembership = std::move(value); }
/**
* <p>The room membership details.</p>
*/
inline CreateRoomMembershipResult& WithRoomMembership(const RoomMembership& value) { SetRoomMembership(value); return *this;}
/**
* <p>The room membership details.</p>
*/
inline CreateRoomMembershipResult& WithRoomMembership(RoomMembership&& value) { SetRoomMembership(std::move(value)); return *this;}
private:
RoomMembership m_roomMembership;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,172 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateRoomRequest : public ChimeRequest
{
public:
CreateRoomRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateRoom"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateRoomRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The room name.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The room name.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The room name.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The room name.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The room name.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The room name.</p>
*/
inline CreateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The room name.</p>
*/
inline CreateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The room name.</p>
*/
inline CreateRoomRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The idempotency token for the request.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The idempotency token for the request.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The idempotency token for the request.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The idempotency token for the request.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The idempotency token for the request.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The idempotency token for the request.</p>
*/
inline CreateRoomRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The idempotency token for the request.</p>
*/
inline CreateRoomRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The idempotency token for the request.</p>
*/
inline CreateRoomRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/Room.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateRoomResult
{
public:
CreateRoomResult();
CreateRoomResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateRoomResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The room details.</p>
*/
inline const Room& GetRoom() const{ return m_room; }
/**
* <p>The room details.</p>
*/
inline void SetRoom(const Room& value) { m_room = value; }
/**
* <p>The room details.</p>
*/
inline void SetRoom(Room&& value) { m_room = std::move(value); }
/**
* <p>The room details.</p>
*/
inline CreateRoomResult& WithRoom(const Room& value) { SetRoom(value); return *this;}
/**
* <p>The room details.</p>
*/
inline CreateRoomResult& WithRoom(Room&& value) { SetRoom(std::move(value)); return *this;}
private:
Room m_room;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,206 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/chime/model/UserType.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateUserRequest : public ChimeRequest
{
public:
CreateUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline CreateUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The user name.</p>
*/
inline const Aws::String& GetUsername() const{ return m_username; }
/**
* <p>The user name.</p>
*/
inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
/**
* <p>The user name.</p>
*/
inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
/**
* <p>The user name.</p>
*/
inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
/**
* <p>The user name.</p>
*/
inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
/**
* <p>The user name.</p>
*/
inline CreateUserRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
/**
* <p>The user name.</p>
*/
inline CreateUserRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
/**
* <p>The user name.</p>
*/
inline CreateUserRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
/**
* <p>The user's email address.</p>
*/
inline const Aws::String& GetEmail() const{ return m_email; }
/**
* <p>The user's email address.</p>
*/
inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
/**
* <p>The user's email address.</p>
*/
inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
/**
* <p>The user's email address.</p>
*/
inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
/**
* <p>The user's email address.</p>
*/
inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
/**
* <p>The user's email address.</p>
*/
inline CreateUserRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
/**
* <p>The user's email address.</p>
*/
inline CreateUserRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
/**
* <p>The user's email address.</p>
*/
inline CreateUserRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
/**
* <p>The user type.</p>
*/
inline const UserType& GetUserType() const{ return m_userType; }
/**
* <p>The user type.</p>
*/
inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
/**
* <p>The user type.</p>
*/
inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
/**
* <p>The user type.</p>
*/
inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
/**
* <p>The user type.</p>
*/
inline CreateUserRequest& WithUserType(const UserType& value) { SetUserType(value); return *this;}
/**
* <p>The user type.</p>
*/
inline CreateUserRequest& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_username;
bool m_usernameHasBeenSet;
Aws::String m_email;
bool m_emailHasBeenSet;
UserType m_userType;
bool m_userTypeHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,57 @@
/**
* 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/chime/model/User.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateUserResult
{
public:
CreateUserResult();
CreateUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const User& GetUser() const{ return m_user; }
inline void SetUser(const User& value) { m_user = value; }
inline void SetUser(User&& value) { m_user = std::move(value); }
inline CreateUserResult& WithUser(const User& value) { SetUser(value); return *this;}
inline CreateUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
private:
User m_user;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/chime/model/VoiceConnectorItem.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateVoiceConnectorGroupRequest : public ChimeRequest
{
public:
CreateVoiceConnectorGroupRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateVoiceConnectorGroup"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline CreateVoiceConnectorGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline CreateVoiceConnectorGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the Amazon Chime Voice Connector group.</p>
*/
inline CreateVoiceConnectorGroupRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline const Aws::Vector<VoiceConnectorItem>& GetVoiceConnectorItems() const{ return m_voiceConnectorItems; }
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline bool VoiceConnectorItemsHasBeenSet() const { return m_voiceConnectorItemsHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline void SetVoiceConnectorItems(const Aws::Vector<VoiceConnectorItem>& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = value; }
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline void SetVoiceConnectorItems(Aws::Vector<VoiceConnectorItem>&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = std::move(value); }
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline CreateVoiceConnectorGroupRequest& WithVoiceConnectorItems(const Aws::Vector<VoiceConnectorItem>& value) { SetVoiceConnectorItems(value); return *this;}
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline CreateVoiceConnectorGroupRequest& WithVoiceConnectorItems(Aws::Vector<VoiceConnectorItem>&& value) { SetVoiceConnectorItems(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline CreateVoiceConnectorGroupRequest& AddVoiceConnectorItems(const VoiceConnectorItem& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(value); return *this; }
/**
* <p>The Amazon Chime Voice Connectors to route inbound calls to.</p>
*/
inline CreateVoiceConnectorGroupRequest& AddVoiceConnectorItems(VoiceConnectorItem&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(std::move(value)); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<VoiceConnectorItem> m_voiceConnectorItems;
bool m_voiceConnectorItemsHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/VoiceConnectorGroup.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateVoiceConnectorGroupResult
{
public:
CreateVoiceConnectorGroupResult();
CreateVoiceConnectorGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateVoiceConnectorGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Chime Voice Connector group details.</p>
*/
inline const VoiceConnectorGroup& GetVoiceConnectorGroup() const{ return m_voiceConnectorGroup; }
/**
* <p>The Amazon Chime Voice Connector group details.</p>
*/
inline void SetVoiceConnectorGroup(const VoiceConnectorGroup& value) { m_voiceConnectorGroup = value; }
/**
* <p>The Amazon Chime Voice Connector group details.</p>
*/
inline void SetVoiceConnectorGroup(VoiceConnectorGroup&& value) { m_voiceConnectorGroup = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector group details.</p>
*/
inline CreateVoiceConnectorGroupResult& WithVoiceConnectorGroup(const VoiceConnectorGroup& value) { SetVoiceConnectorGroup(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector group details.</p>
*/
inline CreateVoiceConnectorGroupResult& WithVoiceConnectorGroup(VoiceConnectorGroup&& value) { SetVoiceConnectorGroup(std::move(value)); return *this;}
private:
VoiceConnectorGroup m_voiceConnectorGroup;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/chime/model/VoiceConnectorAwsRegion.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API CreateVoiceConnectorRequest : public ChimeRequest
{
public:
CreateVoiceConnectorRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateVoiceConnector"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline CreateVoiceConnectorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline CreateVoiceConnectorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the Amazon Chime Voice Connector.</p>
*/
inline CreateVoiceConnectorRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline const VoiceConnectorAwsRegion& GetAwsRegion() const{ return m_awsRegion; }
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline void SetAwsRegion(const VoiceConnectorAwsRegion& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline void SetAwsRegion(VoiceConnectorAwsRegion&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline CreateVoiceConnectorRequest& WithAwsRegion(const VoiceConnectorAwsRegion& value) { SetAwsRegion(value); return *this;}
/**
* <p>The AWS Region in which the Amazon Chime Voice Connector is created. Default
* value: <code>us-east-1</code>.</p>
*/
inline CreateVoiceConnectorRequest& WithAwsRegion(VoiceConnectorAwsRegion&& value) { SetAwsRegion(std::move(value)); return *this;}
/**
* <p>When enabled, requires encryption for the Amazon Chime Voice Connector.</p>
*/
inline bool GetRequireEncryption() const{ return m_requireEncryption; }
/**
* <p>When enabled, requires encryption for the Amazon Chime Voice Connector.</p>
*/
inline bool RequireEncryptionHasBeenSet() const { return m_requireEncryptionHasBeenSet; }
/**
* <p>When enabled, requires encryption for the Amazon Chime Voice Connector.</p>
*/
inline void SetRequireEncryption(bool value) { m_requireEncryptionHasBeenSet = true; m_requireEncryption = value; }
/**
* <p>When enabled, requires encryption for the Amazon Chime Voice Connector.</p>
*/
inline CreateVoiceConnectorRequest& WithRequireEncryption(bool value) { SetRequireEncryption(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
VoiceConnectorAwsRegion m_awsRegion;
bool m_awsRegionHasBeenSet;
bool m_requireEncryption;
bool m_requireEncryptionHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/VoiceConnector.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API CreateVoiceConnectorResult
{
public:
CreateVoiceConnectorResult();
CreateVoiceConnectorResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateVoiceConnectorResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Chime Voice Connector details.</p>
*/
inline const VoiceConnector& GetVoiceConnector() const{ return m_voiceConnector; }
/**
* <p>The Amazon Chime Voice Connector details.</p>
*/
inline void SetVoiceConnector(const VoiceConnector& value) { m_voiceConnector = value; }
/**
* <p>The Amazon Chime Voice Connector details.</p>
*/
inline void SetVoiceConnector(VoiceConnector&& value) { m_voiceConnector = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector details.</p>
*/
inline CreateVoiceConnectorResult& WithVoiceConnector(const VoiceConnector& value) { SetVoiceConnector(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector details.</p>
*/
inline CreateVoiceConnectorResult& WithVoiceConnector(VoiceConnector&& value) { SetVoiceConnector(std::move(value)); return *this;}
private:
VoiceConnector m_voiceConnector;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* 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 SIP credentials used to authenticate requests to your Amazon Chime Voice
* Connector.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Credential">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API Credential
{
public:
Credential();
Credential(Aws::Utils::Json::JsonView jsonValue);
Credential& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline const Aws::String& GetUsername() const{ return m_username; }
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
/**
* <p>The RFC2617 compliant user name associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithUsername(const char* value) { SetUsername(value); return *this;}
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline const Aws::String& GetPassword() const{ return m_password; }
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
/**
* <p>The RFC2617 compliant password associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline Credential& WithPassword(const char* value) { SetPassword(value); return *this;}
private:
Aws::String m_username;
bool m_usernameHasBeenSet;
Aws::String m_password;
bool m_passwordHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,186 @@
/**
* 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 Dialed Number Identification Service (DNIS) emergency calling
* configuration details associated with an Amazon Chime Voice Connector's
* emergency calling configuration.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DNISEmergencyCallingConfiguration">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API DNISEmergencyCallingConfiguration
{
public:
DNISEmergencyCallingConfiguration();
DNISEmergencyCallingConfiguration(Aws::Utils::Json::JsonView jsonValue);
DNISEmergencyCallingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline const Aws::String& GetEmergencyPhoneNumber() const{ return m_emergencyPhoneNumber; }
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline bool EmergencyPhoneNumberHasBeenSet() const { return m_emergencyPhoneNumberHasBeenSet; }
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline void SetEmergencyPhoneNumber(const Aws::String& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = value; }
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline void SetEmergencyPhoneNumber(Aws::String&& value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber = std::move(value); }
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline void SetEmergencyPhoneNumber(const char* value) { m_emergencyPhoneNumberHasBeenSet = true; m_emergencyPhoneNumber.assign(value); }
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const Aws::String& value) { SetEmergencyPhoneNumber(value); return *this;}
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(Aws::String&& value) { SetEmergencyPhoneNumber(std::move(value)); return *this;}
/**
* <p>The DNIS phone number to route emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithEmergencyPhoneNumber(const char* value) { SetEmergencyPhoneNumber(value); return *this;}
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline const Aws::String& GetTestPhoneNumber() const{ return m_testPhoneNumber; }
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline bool TestPhoneNumberHasBeenSet() const { return m_testPhoneNumberHasBeenSet; }
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline void SetTestPhoneNumber(const Aws::String& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = value; }
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline void SetTestPhoneNumber(Aws::String&& value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber = std::move(value); }
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline void SetTestPhoneNumber(const char* value) { m_testPhoneNumberHasBeenSet = true; m_testPhoneNumber.assign(value); }
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const Aws::String& value) { SetTestPhoneNumber(value); return *this;}
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(Aws::String&& value) { SetTestPhoneNumber(std::move(value)); return *this;}
/**
* <p>The DNIS phone number to route test emergency calls to, in E.164 format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithTestPhoneNumber(const char* value) { SetTestPhoneNumber(value); return *this;}
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline const Aws::String& GetCallingCountry() const{ return m_callingCountry; }
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline bool CallingCountryHasBeenSet() const { return m_callingCountryHasBeenSet; }
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline void SetCallingCountry(const Aws::String& value) { m_callingCountryHasBeenSet = true; m_callingCountry = value; }
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline void SetCallingCountry(Aws::String&& value) { m_callingCountryHasBeenSet = true; m_callingCountry = std::move(value); }
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline void SetCallingCountry(const char* value) { m_callingCountryHasBeenSet = true; m_callingCountry.assign(value); }
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithCallingCountry(const Aws::String& value) { SetCallingCountry(value); return *this;}
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithCallingCountry(Aws::String&& value) { SetCallingCountry(std::move(value)); return *this;}
/**
* <p>The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
* format.</p>
*/
inline DNISEmergencyCallingConfiguration& WithCallingCountry(const char* value) { SetCallingCountry(value); return *this;}
private:
Aws::String m_emergencyPhoneNumber;
bool m_emergencyPhoneNumberHasBeenSet;
Aws::String m_testPhoneNumber;
bool m_testPhoneNumberHasBeenSet;
Aws::String m_callingCountry;
bool m_callingCountryHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteAccountRequest : public ChimeRequest
{
public:
DeleteAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API DeleteAccountResult
{
public:
DeleteAccountResult();
DeleteAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteAttendeeRequest : public ChimeRequest
{
public:
DeleteAttendeeRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteAttendee"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline const Aws::String& GetMeetingId() const{ return m_meetingId; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline bool MeetingIdHasBeenSet() const { return m_meetingIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const Aws::String& value) { m_meetingIdHasBeenSet = true; m_meetingId = value; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(Aws::String&& value) { m_meetingIdHasBeenSet = true; m_meetingId = std::move(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const char* value) { m_meetingIdHasBeenSet = true; m_meetingId.assign(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteAttendeeRequest& WithMeetingId(const Aws::String& value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteAttendeeRequest& WithMeetingId(Aws::String&& value) { SetMeetingId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteAttendeeRequest& WithMeetingId(const char* value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline const Aws::String& GetAttendeeId() const{ return m_attendeeId; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline bool AttendeeIdHasBeenSet() const { return m_attendeeIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(const Aws::String& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = value; }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(Aws::String&& value) { m_attendeeIdHasBeenSet = true; m_attendeeId = std::move(value); }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline void SetAttendeeId(const char* value) { m_attendeeIdHasBeenSet = true; m_attendeeId.assign(value); }
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline DeleteAttendeeRequest& WithAttendeeId(const Aws::String& value) { SetAttendeeId(value); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline DeleteAttendeeRequest& WithAttendeeId(Aws::String&& value) { SetAttendeeId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK attendee ID.</p>
*/
inline DeleteAttendeeRequest& WithAttendeeId(const char* value) { SetAttendeeId(value); return *this;}
private:
Aws::String m_meetingId;
bool m_meetingIdHasBeenSet;
Aws::String m_attendeeId;
bool m_attendeeIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteEventsConfigurationRequest : public ChimeRequest
{
public:
DeleteEventsConfigurationRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteEventsConfiguration"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The bot ID.</p>
*/
inline const Aws::String& GetBotId() const{ return m_botId; }
/**
* <p>The bot ID.</p>
*/
inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
/**
* <p>The bot ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
/**
* <p>The bot ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
/**
* <p>The bot ID.</p>
*/
inline DeleteEventsConfigurationRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_botId;
bool m_botIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteMeetingRequest : public ChimeRequest
{
public:
DeleteMeetingRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteMeeting"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline const Aws::String& GetMeetingId() const{ return m_meetingId; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline bool MeetingIdHasBeenSet() const { return m_meetingIdHasBeenSet; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const Aws::String& value) { m_meetingIdHasBeenSet = true; m_meetingId = value; }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(Aws::String&& value) { m_meetingIdHasBeenSet = true; m_meetingId = std::move(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline void SetMeetingId(const char* value) { m_meetingIdHasBeenSet = true; m_meetingId.assign(value); }
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteMeetingRequest& WithMeetingId(const Aws::String& value) { SetMeetingId(value); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteMeetingRequest& WithMeetingId(Aws::String&& value) { SetMeetingId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime SDK meeting ID.</p>
*/
inline DeleteMeetingRequest& WithMeetingId(const char* value) { SetMeetingId(value); return *this;}
private:
Aws::String m_meetingId;
bool m_meetingIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeletePhoneNumberRequest : public ChimeRequest
{
public:
DeletePhoneNumberRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeletePhoneNumber"; }
Aws::String SerializePayload() const override;
/**
* <p>The phone number ID.</p>
*/
inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
/**
* <p>The phone number ID.</p>
*/
inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
/**
* <p>The phone number ID.</p>
*/
inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
/**
* <p>The phone number ID.</p>
*/
inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
/**
* <p>The phone number ID.</p>
*/
inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
/**
* <p>The phone number ID.</p>
*/
inline DeletePhoneNumberRequest& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
/**
* <p>The phone number ID.</p>
*/
inline DeletePhoneNumberRequest& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
/**
* <p>The phone number ID.</p>
*/
inline DeletePhoneNumberRequest& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
private:
Aws::String m_phoneNumberId;
bool m_phoneNumberIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteProxySessionRequest : public ChimeRequest
{
public:
DeleteProxySessionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteProxySession"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline DeleteProxySessionRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline DeleteProxySessionRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime voice connector ID.</p>
*/
inline DeleteProxySessionRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The proxy session ID.</p>
*/
inline const Aws::String& GetProxySessionId() const{ return m_proxySessionId; }
/**
* <p>The proxy session ID.</p>
*/
inline bool ProxySessionIdHasBeenSet() const { return m_proxySessionIdHasBeenSet; }
/**
* <p>The proxy session ID.</p>
*/
inline void SetProxySessionId(const Aws::String& value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId = value; }
/**
* <p>The proxy session ID.</p>
*/
inline void SetProxySessionId(Aws::String&& value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId = std::move(value); }
/**
* <p>The proxy session ID.</p>
*/
inline void SetProxySessionId(const char* value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId.assign(value); }
/**
* <p>The proxy session ID.</p>
*/
inline DeleteProxySessionRequest& WithProxySessionId(const Aws::String& value) { SetProxySessionId(value); return *this;}
/**
* <p>The proxy session ID.</p>
*/
inline DeleteProxySessionRequest& WithProxySessionId(Aws::String&& value) { SetProxySessionId(std::move(value)); return *this;}
/**
* <p>The proxy session ID.</p>
*/
inline DeleteProxySessionRequest& WithProxySessionId(const char* value) { SetProxySessionId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
Aws::String m_proxySessionId;
bool m_proxySessionIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,171 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteRoomMembershipRequest : public ChimeRequest
{
public:
DeleteRoomMembershipRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteRoomMembership"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomMembershipRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomMembershipRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomMembershipRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline const Aws::String& GetRoomId() const{ return m_roomId; }
/**
* <p>The room ID.</p>
*/
inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
/**
* <p>The room ID.</p>
*/
inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
/**
* <p>The room ID.</p>
*/
inline DeleteRoomMembershipRequest& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
/**
* <p>The room ID.</p>
*/
inline DeleteRoomMembershipRequest& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
/**
* <p>The room ID.</p>
*/
inline DeleteRoomMembershipRequest& WithRoomId(const char* value) { SetRoomId(value); return *this;}
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline const Aws::String& GetMemberId() const{ return m_memberId; }
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline DeleteRoomMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline DeleteRoomMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
/**
* <p>The member ID (user ID or bot ID).</p>
*/
inline DeleteRoomMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_roomId;
bool m_roomIdHasBeenSet;
Aws::String m_memberId;
bool m_memberIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteRoomRequest : public ChimeRequest
{
public:
DeleteRoomRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteRoom"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DeleteRoomRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The chat room ID.</p>
*/
inline const Aws::String& GetRoomId() const{ return m_roomId; }
/**
* <p>The chat room ID.</p>
*/
inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
/**
* <p>The chat room ID.</p>
*/
inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
/**
* <p>The chat room ID.</p>
*/
inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
/**
* <p>The chat room ID.</p>
*/
inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
/**
* <p>The chat room ID.</p>
*/
inline DeleteRoomRequest& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
/**
* <p>The chat room ID.</p>
*/
inline DeleteRoomRequest& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
/**
* <p>The chat room ID.</p>
*/
inline DeleteRoomRequest& WithRoomId(const char* value) { SetRoomId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_roomId;
bool m_roomIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorEmergencyCallingConfigurationRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorEmergencyCallingConfigurationRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorEmergencyCallingConfiguration"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorEmergencyCallingConfigurationRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorEmergencyCallingConfigurationRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorEmergencyCallingConfigurationRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorGroupRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorGroupRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorGroup"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline const Aws::String& GetVoiceConnectorGroupId() const{ return m_voiceConnectorGroupId; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline bool VoiceConnectorGroupIdHasBeenSet() const { return m_voiceConnectorGroupIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const Aws::String& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = value; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(Aws::String&& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const char* value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DeleteVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const Aws::String& value) { SetVoiceConnectorGroupId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DeleteVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(Aws::String&& value) { SetVoiceConnectorGroupId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DeleteVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const char* value) { SetVoiceConnectorGroupId(value); return *this;}
private:
Aws::String m_voiceConnectorGroupId;
bool m_voiceConnectorGroupIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorOriginationRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorOriginationRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorOrigination"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorOriginationRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorOriginationRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorOriginationRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorProxyRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorProxyRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorProxy"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorProxyRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorProxyRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorProxyRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnector"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorStreamingConfigurationRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorStreamingConfigurationRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorStreamingConfiguration"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorStreamingConfigurationRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorStreamingConfigurationRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorStreamingConfigurationRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,142 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorTerminationCredentialsRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorTerminationCredentialsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorTerminationCredentials"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline const Aws::Vector<Aws::String>& GetUsernames() const{ return m_usernames; }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline bool UsernamesHasBeenSet() const { return m_usernamesHasBeenSet; }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetUsernames(const Aws::Vector<Aws::String>& value) { m_usernamesHasBeenSet = true; m_usernames = value; }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline void SetUsernames(Aws::Vector<Aws::String>&& value) { m_usernamesHasBeenSet = true; m_usernames = std::move(value); }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& WithUsernames(const Aws::Vector<Aws::String>& value) { SetUsernames(value); return *this;}
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& WithUsernames(Aws::Vector<Aws::String>&& value) { SetUsernames(std::move(value)); return *this;}
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(const Aws::String& value) { m_usernamesHasBeenSet = true; m_usernames.push_back(value); return *this; }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(Aws::String&& value) { m_usernamesHasBeenSet = true; m_usernames.push_back(std::move(value)); return *this; }
/**
* <p>The RFC2617 compliant username associated with the SIP credentials, in
* US-ASCII format.</p>
*/
inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(const char* value) { m_usernamesHasBeenSet = true; m_usernames.push_back(value); return *this; }
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
Aws::Vector<Aws::String> m_usernames;
bool m_usernamesHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DeleteVoiceConnectorTerminationRequest : public ChimeRequest
{
public:
DeleteVoiceConnectorTerminationRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteVoiceConnectorTermination"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DeleteVoiceConnectorTerminationRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DisassociatePhoneNumberFromUserRequest : public ChimeRequest
{
public:
DisassociatePhoneNumberFromUserRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociatePhoneNumberFromUser"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The user ID.</p>
*/
inline const Aws::String& GetUserId() const{ return m_userId; }
/**
* <p>The user ID.</p>
*/
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
/**
* <p>The user ID.</p>
*/
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
/**
* <p>The user ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
/**
* <p>The user ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
/**
* <p>The user ID.</p>
*/
inline DisassociatePhoneNumberFromUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_userId;
bool m_userIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API DisassociatePhoneNumberFromUserResult
{
public:
DisassociatePhoneNumberFromUserResult();
DisassociatePhoneNumberFromUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisassociatePhoneNumberFromUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DisassociatePhoneNumbersFromVoiceConnectorGroupRequest : public ChimeRequest
{
public:
DisassociatePhoneNumbersFromVoiceConnectorGroupRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociatePhoneNumbersFromVoiceConnectorGroup"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline const Aws::String& GetVoiceConnectorGroupId() const{ return m_voiceConnectorGroupId; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline bool VoiceConnectorGroupIdHasBeenSet() const { return m_voiceConnectorGroupIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const Aws::String& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = value; }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(Aws::String&& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline void SetVoiceConnectorGroupId(const char* value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const Aws::String& value) { SetVoiceConnectorGroupId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(Aws::String&& value) { SetVoiceConnectorGroupId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector group ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& WithVoiceConnectorGroupId(const char* value) { SetVoiceConnectorGroupId(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline const Aws::Vector<Aws::String>& GetE164PhoneNumbers() const{ return m_e164PhoneNumbers; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline bool E164PhoneNumbersHasBeenSet() const { return m_e164PhoneNumbersHasBeenSet; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = value; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = std::move(value); }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& WithE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { SetE164PhoneNumbers(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& WithE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { SetE164PhoneNumbers(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& AddE164PhoneNumbers(const Aws::String& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& AddE164PhoneNumbers(Aws::String&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupRequest& AddE164PhoneNumbers(const char* value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
private:
Aws::String m_voiceConnectorGroupId;
bool m_voiceConnectorGroupIdHasBeenSet;
Aws::Vector<Aws::String> m_e164PhoneNumbers;
bool m_e164PhoneNumbersHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API DisassociatePhoneNumbersFromVoiceConnectorGroupResult
{
public:
DisassociatePhoneNumbersFromVoiceConnectorGroupResult();
DisassociatePhoneNumbersFromVoiceConnectorGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisassociatePhoneNumbersFromVoiceConnectorGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorGroupResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DisassociatePhoneNumbersFromVoiceConnectorRequest : public ChimeRequest
{
public:
DisassociatePhoneNumbersFromVoiceConnectorRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociatePhoneNumbersFromVoiceConnector"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector ID.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline const Aws::Vector<Aws::String>& GetE164PhoneNumbers() const{ return m_e164PhoneNumbers; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline bool E164PhoneNumbersHasBeenSet() const { return m_e164PhoneNumbersHasBeenSet; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = value; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline void SetE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers = std::move(value); }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& WithE164PhoneNumbers(const Aws::Vector<Aws::String>& value) { SetE164PhoneNumbers(value); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& WithE164PhoneNumbers(Aws::Vector<Aws::String>&& value) { SetE164PhoneNumbers(std::move(value)); return *this;}
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& AddE164PhoneNumbers(const Aws::String& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& AddE164PhoneNumbers(Aws::String&& value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>List of phone numbers, in E.164 format.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorRequest& AddE164PhoneNumbers(const char* value) { m_e164PhoneNumbersHasBeenSet = true; m_e164PhoneNumbers.push_back(value); return *this; }
private:
Aws::String m_voiceConnectorId;
bool m_voiceConnectorIdHasBeenSet;
Aws::Vector<Aws::String> m_e164PhoneNumbers;
bool m_e164PhoneNumbersHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/PhoneNumberError.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API DisassociatePhoneNumbersFromVoiceConnectorResult
{
public:
DisassociatePhoneNumbersFromVoiceConnectorResult();
DisassociatePhoneNumbersFromVoiceConnectorResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisassociatePhoneNumbersFromVoiceConnectorResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const{ return m_phoneNumberErrors; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { m_phoneNumberErrors = value; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline void SetPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { m_phoneNumberErrors = std::move(value); }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorResult& WithPhoneNumberErrors(const Aws::Vector<PhoneNumberError>& value) { SetPhoneNumberErrors(value); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorResult& WithPhoneNumberErrors(Aws::Vector<PhoneNumberError>&& value) { SetPhoneNumberErrors(std::move(value)); return *this;}
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorResult& AddPhoneNumberErrors(const PhoneNumberError& value) { m_phoneNumberErrors.push_back(value); return *this; }
/**
* <p>If the action fails for one or more of the phone numbers in the request, a
* list of the phone numbers is returned, along with error codes and error
* messages.</p>
*/
inline DisassociatePhoneNumbersFromVoiceConnectorResult& AddPhoneNumberErrors(PhoneNumberError&& value) { m_phoneNumberErrors.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API DisassociateSigninDelegateGroupsFromAccountRequest : public ChimeRequest
{
public:
DisassociateSigninDelegateGroupsFromAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociateSigninDelegateGroupsFromAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The sign-in delegate group names.</p>
*/
inline const Aws::Vector<Aws::String>& GetGroupNames() const{ return m_groupNames; }
/**
* <p>The sign-in delegate group names.</p>
*/
inline bool GroupNamesHasBeenSet() const { return m_groupNamesHasBeenSet; }
/**
* <p>The sign-in delegate group names.</p>
*/
inline void SetGroupNames(const Aws::Vector<Aws::String>& value) { m_groupNamesHasBeenSet = true; m_groupNames = value; }
/**
* <p>The sign-in delegate group names.</p>
*/
inline void SetGroupNames(Aws::Vector<Aws::String>&& value) { m_groupNamesHasBeenSet = true; m_groupNames = std::move(value); }
/**
* <p>The sign-in delegate group names.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& WithGroupNames(const Aws::Vector<Aws::String>& value) { SetGroupNames(value); return *this;}
/**
* <p>The sign-in delegate group names.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& WithGroupNames(Aws::Vector<Aws::String>&& value) { SetGroupNames(std::move(value)); return *this;}
/**
* <p>The sign-in delegate group names.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& AddGroupNames(const Aws::String& value) { m_groupNamesHasBeenSet = true; m_groupNames.push_back(value); return *this; }
/**
* <p>The sign-in delegate group names.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& AddGroupNames(Aws::String&& value) { m_groupNamesHasBeenSet = true; m_groupNames.push_back(std::move(value)); return *this; }
/**
* <p>The sign-in delegate group names.</p>
*/
inline DisassociateSigninDelegateGroupsFromAccountRequest& AddGroupNames(const char* value) { m_groupNamesHasBeenSet = true; m_groupNames.push_back(value); return *this; }
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Vector<Aws::String> m_groupNames;
bool m_groupNamesHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API DisassociateSigninDelegateGroupsFromAccountResult
{
public:
DisassociateSigninDelegateGroupsFromAccountResult();
DisassociateSigninDelegateGroupsFromAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisassociateSigninDelegateGroupsFromAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class EmailStatus
{
NOT_SET,
NotSent,
Sent,
Failed
};
namespace EmailStatusMapper
{
AWS_CHIME_API EmailStatus GetEmailStatusForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForEmailStatus(EmailStatus value);
} // namespace EmailStatusMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,98 @@
/**
* 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/AWSVector.h>
#include <aws/chime/model/DNISEmergencyCallingConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>The emergency calling configuration details associated with an Amazon Chime
* Voice Connector.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/EmergencyCallingConfiguration">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API EmergencyCallingConfiguration
{
public:
EmergencyCallingConfiguration();
EmergencyCallingConfiguration(Aws::Utils::Json::JsonView jsonValue);
EmergencyCallingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline const Aws::Vector<DNISEmergencyCallingConfiguration>& GetDNIS() const{ return m_dNIS; }
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline bool DNISHasBeenSet() const { return m_dNISHasBeenSet; }
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline void SetDNIS(const Aws::Vector<DNISEmergencyCallingConfiguration>& value) { m_dNISHasBeenSet = true; m_dNIS = value; }
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline void SetDNIS(Aws::Vector<DNISEmergencyCallingConfiguration>&& value) { m_dNISHasBeenSet = true; m_dNIS = std::move(value); }
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline EmergencyCallingConfiguration& WithDNIS(const Aws::Vector<DNISEmergencyCallingConfiguration>& value) { SetDNIS(value); return *this;}
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline EmergencyCallingConfiguration& WithDNIS(Aws::Vector<DNISEmergencyCallingConfiguration>&& value) { SetDNIS(std::move(value)); return *this;}
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline EmergencyCallingConfiguration& AddDNIS(const DNISEmergencyCallingConfiguration& value) { m_dNISHasBeenSet = true; m_dNIS.push_back(value); return *this; }
/**
* <p>The Dialed Number Identification Service (DNIS) emergency calling
* configuration details.</p>
*/
inline EmergencyCallingConfiguration& AddDNIS(DNISEmergencyCallingConfiguration&& value) { m_dNISHasBeenSet = true; m_dNIS.push_back(std::move(value)); return *this; }
private:
Aws::Vector<DNISEmergencyCallingConfiguration> m_dNIS;
bool m_dNISHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,44 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class ErrorCode
{
NOT_SET,
BadRequest,
Conflict,
Forbidden,
NotFound,
PreconditionFailed,
ResourceLimitExceeded,
ServiceFailure,
AccessDenied,
ServiceUnavailable,
Throttled,
Throttling,
Unauthorized,
Unprocessable,
VoiceConnectorGroupAssociationsExist,
PhoneNumberAssociationsExist
};
namespace ErrorCodeMapper
{
AWS_CHIME_API ErrorCode GetErrorCodeForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForErrorCode(ErrorCode value);
} // namespace ErrorCodeMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,177 @@
/**
* 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 configuration that allows a bot to receive outgoing events. Can be either
* an HTTPS endpoint or a Lambda function ARN.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/EventsConfiguration">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API EventsConfiguration
{
public:
EventsConfiguration();
EventsConfiguration(Aws::Utils::Json::JsonView jsonValue);
EventsConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The bot ID.</p>
*/
inline const Aws::String& GetBotId() const{ return m_botId; }
/**
* <p>The bot ID.</p>
*/
inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
/**
* <p>The bot ID.</p>
*/
inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
/**
* <p>The bot ID.</p>
*/
inline EventsConfiguration& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
/**
* <p>The bot ID.</p>
*/
inline EventsConfiguration& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
/**
* <p>The bot ID.</p>
*/
inline EventsConfiguration& WithBotId(const char* value) { SetBotId(value); return *this;}
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline const Aws::String& GetOutboundEventsHTTPSEndpoint() const{ return m_outboundEventsHTTPSEndpoint; }
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline bool OutboundEventsHTTPSEndpointHasBeenSet() const { return m_outboundEventsHTTPSEndpointHasBeenSet; }
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline void SetOutboundEventsHTTPSEndpoint(const Aws::String& value) { m_outboundEventsHTTPSEndpointHasBeenSet = true; m_outboundEventsHTTPSEndpoint = value; }
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline void SetOutboundEventsHTTPSEndpoint(Aws::String&& value) { m_outboundEventsHTTPSEndpointHasBeenSet = true; m_outboundEventsHTTPSEndpoint = std::move(value); }
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline void SetOutboundEventsHTTPSEndpoint(const char* value) { m_outboundEventsHTTPSEndpointHasBeenSet = true; m_outboundEventsHTTPSEndpoint.assign(value); }
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithOutboundEventsHTTPSEndpoint(const Aws::String& value) { SetOutboundEventsHTTPSEndpoint(value); return *this;}
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithOutboundEventsHTTPSEndpoint(Aws::String&& value) { SetOutboundEventsHTTPSEndpoint(std::move(value)); return *this;}
/**
* <p>HTTPS endpoint that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithOutboundEventsHTTPSEndpoint(const char* value) { SetOutboundEventsHTTPSEndpoint(value); return *this;}
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;}
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
/**
* <p>Lambda function ARN that allows a bot to receive outgoing events.</p>
*/
inline EventsConfiguration& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
private:
Aws::String m_botId;
bool m_botIdHasBeenSet;
Aws::String m_outboundEventsHTTPSEndpoint;
bool m_outboundEventsHTTPSEndpointHasBeenSet;
Aws::String m_lambdaFunctionArn;
bool m_lambdaFunctionArnHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* 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/chime/model/ErrorCode.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 client is permanently forbidden from making the request. For example,
* when a user tries to create an account from an unsupported Region.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ForbiddenException">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API ForbiddenException
{
public:
ForbiddenException();
ForbiddenException(Aws::Utils::Json::JsonView jsonValue);
ForbiddenException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const ErrorCode& GetCode() const{ return m_code; }
inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
inline void SetCode(const ErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
inline void SetCode(ErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
inline ForbiddenException& WithCode(const ErrorCode& value) { SetCode(value); return *this;}
inline ForbiddenException& WithCode(ErrorCode&& value) { SetCode(std::move(value)); return *this;}
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline ForbiddenException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline ForbiddenException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline ForbiddenException& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
ErrorCode m_code;
bool m_codeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* 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>
namespace Aws
{
namespace Chime
{
namespace Model
{
enum class GeoMatchLevel
{
NOT_SET,
Country,
AreaCode
};
namespace GeoMatchLevelMapper
{
AWS_CHIME_API GeoMatchLevel GetGeoMatchLevelForName(const Aws::String& name);
AWS_CHIME_API Aws::String GetNameForGeoMatchLevel(GeoMatchLevel value);
} // namespace GeoMatchLevelMapper
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* 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 country and area code for a proxy phone number in a proxy phone
* session.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GeoMatchParams">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API GeoMatchParams
{
public:
GeoMatchParams();
GeoMatchParams(Aws::Utils::Json::JsonView jsonValue);
GeoMatchParams& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The country.</p>
*/
inline const Aws::String& GetCountry() const{ return m_country; }
/**
* <p>The country.</p>
*/
inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
/**
* <p>The country.</p>
*/
inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
/**
* <p>The country.</p>
*/
inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
/**
* <p>The country.</p>
*/
inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
/**
* <p>The country.</p>
*/
inline GeoMatchParams& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
/**
* <p>The country.</p>
*/
inline GeoMatchParams& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
/**
* <p>The country.</p>
*/
inline GeoMatchParams& WithCountry(const char* value) { SetCountry(value); return *this;}
/**
* <p>The area code.</p>
*/
inline const Aws::String& GetAreaCode() const{ return m_areaCode; }
/**
* <p>The area code.</p>
*/
inline bool AreaCodeHasBeenSet() const { return m_areaCodeHasBeenSet; }
/**
* <p>The area code.</p>
*/
inline void SetAreaCode(const Aws::String& value) { m_areaCodeHasBeenSet = true; m_areaCode = value; }
/**
* <p>The area code.</p>
*/
inline void SetAreaCode(Aws::String&& value) { m_areaCodeHasBeenSet = true; m_areaCode = std::move(value); }
/**
* <p>The area code.</p>
*/
inline void SetAreaCode(const char* value) { m_areaCodeHasBeenSet = true; m_areaCode.assign(value); }
/**
* <p>The area code.</p>
*/
inline GeoMatchParams& WithAreaCode(const Aws::String& value) { SetAreaCode(value); return *this;}
/**
* <p>The area code.</p>
*/
inline GeoMatchParams& WithAreaCode(Aws::String&& value) { SetAreaCode(std::move(value)); return *this;}
/**
* <p>The area code.</p>
*/
inline GeoMatchParams& WithAreaCode(const char* value) { SetAreaCode(value); return *this;}
private:
Aws::String m_country;
bool m_countryHasBeenSet;
Aws::String m_areaCode;
bool m_areaCodeHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API GetAccountRequest : public ChimeRequest
{
public:
GetAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/Account.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API GetAccountResult
{
public:
GetAccountResult();
GetAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Chime account details.</p>
*/
inline const Account& GetAccount() const{ return m_account; }
/**
* <p>The Amazon Chime account details.</p>
*/
inline void SetAccount(const Account& value) { m_account = value; }
/**
* <p>The Amazon Chime account details.</p>
*/
inline void SetAccount(Account&& value) { m_account = std::move(value); }
/**
* <p>The Amazon Chime account details.</p>
*/
inline GetAccountResult& WithAccount(const Account& value) { SetAccount(value); return *this;}
/**
* <p>The Amazon Chime account details.</p>
*/
inline GetAccountResult& WithAccount(Account&& value) { SetAccount(std::move(value)); return *this;}
private:
Account m_account;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* 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/chime/ChimeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API GetAccountSettingsRequest : public ChimeRequest
{
public:
GetAccountSettingsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetAccountSettings"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountSettingsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountSettingsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The Amazon Chime account ID.</p>
*/
inline GetAccountSettingsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* 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/chime/model/AccountSettings.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
class AWS_CHIME_API GetAccountSettingsResult
{
public:
GetAccountSettingsResult();
GetAccountSettingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetAccountSettingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Chime account settings.</p>
*/
inline const AccountSettings& GetAccountSettings() const{ return m_accountSettings; }
/**
* <p>The Amazon Chime account settings.</p>
*/
inline void SetAccountSettings(const AccountSettings& value) { m_accountSettings = value; }
/**
* <p>The Amazon Chime account settings.</p>
*/
inline void SetAccountSettings(AccountSettings&& value) { m_accountSettings = std::move(value); }
/**
* <p>The Amazon Chime account settings.</p>
*/
inline GetAccountSettingsResult& WithAccountSettings(const AccountSettings& value) { SetAccountSettings(value); return *this;}
/**
* <p>The Amazon Chime account settings.</p>
*/
inline GetAccountSettingsResult& WithAccountSettings(AccountSettings&& value) { SetAccountSettings(std::move(value)); return *this;}
private:
AccountSettings m_accountSettings;
};
} // namespace Model
} // namespace Chime
} // namespace Aws

Some files were not shown because too many files have changed in this diff Show More