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,21 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace AlexaForBusinessEndpoint
{
AWS_ALEXAFORBUSINESS_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace AlexaForBusinessEndpoint
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,23 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_ALEXAFORBUSINESS_API AlexaForBusinessErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,86 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
namespace AlexaForBusiness
{
enum class AlexaForBusinessErrors
{
//From Core//
//////////////////////////////////////////////////////////////////////////////////////////
INCOMPLETE_SIGNATURE = 0,
INTERNAL_FAILURE = 1,
INVALID_ACTION = 2,
INVALID_CLIENT_TOKEN_ID = 3,
INVALID_PARAMETER_COMBINATION = 4,
INVALID_QUERY_PARAMETER = 5,
INVALID_PARAMETER_VALUE = 6,
MISSING_ACTION = 7, // SDK should never allow
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
MISSING_PARAMETER = 9, // SDK should never allow
OPT_IN_REQUIRED = 10,
REQUEST_EXPIRED = 11,
SERVICE_UNAVAILABLE = 12,
THROTTLING = 13,
VALIDATION = 14,
ACCESS_DENIED = 15,
RESOURCE_NOT_FOUND = 16,
UNRECOGNIZED_CLIENT = 17,
MALFORMED_QUERY_STRING = 18,
SLOW_DOWN = 19,
REQUEST_TIME_TOO_SKEWED = 20,
INVALID_SIGNATURE = 21,
SIGNATURE_DOES_NOT_MATCH = 22,
INVALID_ACCESS_KEY_ID = 23,
REQUEST_TIMEOUT = 24,
NETWORK_CONNECTION = 99,
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
ALREADY_EXISTS= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONCURRENT_MODIFICATION,
DEVICE_NOT_REGISTERED,
INVALID_CERTIFICATE_AUTHORITY,
INVALID_DEVICE,
INVALID_SECRETS_MANAGER_RESOURCE,
INVALID_SERVICE_LINKED_ROLE_STATE,
INVALID_USER_STATUS,
LIMIT_EXCEEDED,
NAME_IN_USE,
NOT_FOUND,
RESOURCE_ASSOCIATED,
RESOURCE_IN_USE,
SKILL_NOT_LINKED,
UNAUTHORIZED
};
class AWS_ALEXAFORBUSINESS_API AlexaForBusinessError : public Aws::Client::AWSError<AlexaForBusinessErrors>
{
public:
AlexaForBusinessError() {}
AlexaForBusinessError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<AlexaForBusinessErrors>(rhs) {}
AlexaForBusinessError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<AlexaForBusinessErrors>(rhs) {}
AlexaForBusinessError(const Aws::Client::AWSError<AlexaForBusinessErrors>& rhs) : Aws::Client::AWSError<AlexaForBusinessErrors>(rhs) {}
AlexaForBusinessError(Aws::Client::AWSError<AlexaForBusinessErrors>&& rhs) : Aws::Client::AWSError<AlexaForBusinessErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace AlexaForBusinessErrorMapper
{
AWS_ALEXAFORBUSINESS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace AlexaForBusiness
{
class AWS_ALEXAFORBUSINESS_API AlexaForBusinessRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~AlexaForBusinessRequest () {}
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
inline Aws::Http::HeaderValueCollection GetHeaders() const override
{
auto headers = GetRequestSpecificHeaders();
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
{
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_1 ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2017-11-09"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#ifdef _MSC_VER
//disable windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWS_ALEXAFORBUSINESS_EXPORTS
#define AWS_ALEXAFORBUSINESS_API __declspec(dllexport)
#else
#define AWS_ALEXAFORBUSINESS_API __declspec(dllimport)
#endif /* AWS_ALEXAFORBUSINESS_EXPORTS */
#else
#define AWS_ALEXAFORBUSINESS_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_ALEXAFORBUSINESS_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,176 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>An address book with attributes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AddressBook">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API AddressBook
{
public:
AddressBook();
AddressBook(Aws::Utils::Json::JsonView jsonValue);
AddressBook& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the address book.</p>
*/
inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; }
/**
* <p>The ARN of the address book.</p>
*/
inline bool AddressBookArnHasBeenSet() const { return m_addressBookArnHasBeenSet; }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = value; }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = std::move(value); }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(const char* value) { m_addressBookArnHasBeenSet = true; m_addressBookArn.assign(value); }
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBook& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;}
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBook& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;}
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBook& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the address book.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the address book.</p>
*/
inline AddressBook& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline AddressBook& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline AddressBook& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the address book.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the address book.</p>
*/
inline AddressBook& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline AddressBook& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline AddressBook& WithDescription(const char* value) { SetDescription(value); return *this;}
private:
Aws::String m_addressBookArn;
bool m_addressBookArnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,176 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>Information related to an address book.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AddressBookData">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API AddressBookData
{
public:
AddressBookData();
AddressBookData(Aws::Utils::Json::JsonView jsonValue);
AddressBookData& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the address book.</p>
*/
inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; }
/**
* <p>The ARN of the address book.</p>
*/
inline bool AddressBookArnHasBeenSet() const { return m_addressBookArnHasBeenSet; }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = value; }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = std::move(value); }
/**
* <p>The ARN of the address book.</p>
*/
inline void SetAddressBookArn(const char* value) { m_addressBookArnHasBeenSet = true; m_addressBookArn.assign(value); }
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBookData& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;}
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBookData& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;}
/**
* <p>The ARN of the address book.</p>
*/
inline AddressBookData& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the address book.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the address book.</p>
*/
inline AddressBookData& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline AddressBookData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline AddressBookData& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the address book.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the address book.</p>
*/
inline AddressBookData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline AddressBookData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline AddressBookData& WithDescription(const char* value) { SetDescription(value); return *this;}
private:
Aws::String m_addressBookArn;
bool m_addressBookArnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API ApproveSkillRequest : public AlexaForBusinessRequest
{
public:
ApproveSkillRequest();
// 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 "ApproveSkill"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The unique identifier of the skill.</p>
*/
inline const Aws::String& GetSkillId() const{ return m_skillId; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
/**
* <p>The unique identifier of the skill.</p>
*/
inline ApproveSkillRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
/**
* <p>The unique identifier of the skill.</p>
*/
inline ApproveSkillRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
/**
* <p>The unique identifier of the skill.</p>
*/
inline ApproveSkillRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
private:
Aws::String m_skillId;
bool m_skillIdHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API ApproveSkillResult
{
public:
ApproveSkillResult();
ApproveSkillResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ApproveSkillResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateContactWithAddressBookRequest : public AlexaForBusinessRequest
{
public:
AssociateContactWithAddressBookRequest();
// 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 "AssociateContactWithAddressBook"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline const Aws::String& GetContactArn() const{ return m_contactArn; }
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline AssociateContactWithAddressBookRequest& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline AssociateContactWithAddressBookRequest& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
/**
* <p>The ARN of the contact to associate with an address book.</p>
*/
inline AssociateContactWithAddressBookRequest& WithContactArn(const char* value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; }
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline bool AddressBookArnHasBeenSet() const { return m_addressBookArnHasBeenSet; }
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = value; }
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = std::move(value); }
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline void SetAddressBookArn(const char* value) { m_addressBookArnHasBeenSet = true; m_addressBookArn.assign(value); }
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline AssociateContactWithAddressBookRequest& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;}
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline AssociateContactWithAddressBookRequest& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;}
/**
* <p>The ARN of the address book with which to associate the contact.</p>
*/
inline AssociateContactWithAddressBookRequest& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;}
private:
Aws::String m_contactArn;
bool m_contactArnHasBeenSet;
Aws::String m_addressBookArn;
bool m_addressBookArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateContactWithAddressBookResult
{
public:
AssociateContactWithAddressBookResult();
AssociateContactWithAddressBookResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateContactWithAddressBookResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateDeviceWithNetworkProfileRequest : public AlexaForBusinessRequest
{
public:
AssociateDeviceWithNetworkProfileRequest();
// 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 "AssociateDeviceWithNetworkProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The device ARN.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The device ARN.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The device ARN.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The device ARN.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The device ARN.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The device ARN.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The device ARN.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The device ARN.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile to associate with a device.</p>
*/
inline AssociateDeviceWithNetworkProfileRequest& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
Aws::String m_networkProfileArn;
bool m_networkProfileArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateDeviceWithNetworkProfileResult
{
public:
AssociateDeviceWithNetworkProfileResult();
AssociateDeviceWithNetworkProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateDeviceWithNetworkProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateDeviceWithRoomRequest : public AlexaForBusinessRequest
{
public:
AssociateDeviceWithRoomRequest();
// 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 "AssociateDeviceWithRoom"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The ARN of the device to associate to a room. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room with which to associate the device. Required.</p>
*/
inline AssociateDeviceWithRoomRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateDeviceWithRoomResult
{
public:
AssociateDeviceWithRoomResult();
AssociateDeviceWithRoomResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateDeviceWithRoomResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateSkillGroupWithRoomRequest : public AlexaForBusinessRequest
{
public:
AssociateSkillGroupWithRoomRequest();
// 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 "AssociateSkillGroupWithRoom"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline const Aws::String& GetSkillGroupArn() const{ return m_skillGroupArn; }
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline bool SkillGroupArnHasBeenSet() const { return m_skillGroupArnHasBeenSet; }
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline void SetSkillGroupArn(const Aws::String& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = value; }
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline void SetSkillGroupArn(Aws::String&& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = std::move(value); }
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline void SetSkillGroupArn(const char* value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn.assign(value); }
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithSkillGroupArn(const Aws::String& value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithSkillGroupArn(Aws::String&& value) { SetSkillGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the skill group to associate with a room. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithSkillGroupArn(const char* value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room with which to associate the skill group. Required.</p>
*/
inline AssociateSkillGroupWithRoomRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
private:
Aws::String m_skillGroupArn;
bool m_skillGroupArnHasBeenSet;
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateSkillGroupWithRoomResult
{
public:
AssociateSkillGroupWithRoomResult();
AssociateSkillGroupWithRoomResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateSkillGroupWithRoomResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateSkillWithSkillGroupRequest : public AlexaForBusinessRequest
{
public:
AssociateSkillWithSkillGroupRequest();
// 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 "AssociateSkillWithSkillGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline const Aws::String& GetSkillGroupArn() const{ return m_skillGroupArn; }
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline bool SkillGroupArnHasBeenSet() const { return m_skillGroupArnHasBeenSet; }
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline void SetSkillGroupArn(const Aws::String& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = value; }
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline void SetSkillGroupArn(Aws::String&& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = std::move(value); }
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline void SetSkillGroupArn(const char* value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn.assign(value); }
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillGroupArn(const Aws::String& value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillGroupArn(Aws::String&& value) { SetSkillGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the skill group to associate the skill to. Required.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillGroupArn(const char* value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The unique identifier of the skill.</p>
*/
inline const Aws::String& GetSkillId() const{ return m_skillId; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
/**
* <p>The unique identifier of the skill.</p>
*/
inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
/**
* <p>The unique identifier of the skill.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
/**
* <p>The unique identifier of the skill.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
/**
* <p>The unique identifier of the skill.</p>
*/
inline AssociateSkillWithSkillGroupRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
private:
Aws::String m_skillGroupArn;
bool m_skillGroupArnHasBeenSet;
Aws::String m_skillId;
bool m_skillIdHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateSkillWithSkillGroupResult
{
public:
AssociateSkillWithSkillGroupResult();
AssociateSkillWithSkillGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateSkillWithSkillGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API AssociateSkillWithUsersRequest : public AlexaForBusinessRequest
{
public:
AssociateSkillWithUsersRequest();
// 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 "AssociateSkillWithUsers"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline const Aws::String& GetSkillId() const{ return m_skillId; }
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline AssociateSkillWithUsersRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline AssociateSkillWithUsersRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
/**
* <p>The private skill ID you want to make available to enrolled users.</p>
*/
inline AssociateSkillWithUsersRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
private:
Aws::String m_skillId;
bool m_skillIdHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API AssociateSkillWithUsersResult
{
public:
AssociateSkillWithUsersResult();
AssociateSkillWithUsersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateSkillWithUsersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,155 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/model/Locale.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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The audio message. There is a 1 MB limit on the audio file input and the only
* supported format is MP3. To convert your MP3 audio files to an Alexa-friendly,
* </p> <p>required codec version (MPEG version 2) and bit rate (48 kbps), you
* might use converter software. One option for this is a command-line tool,
* FFmpeg. For more information, see <a href="https://www.ffmpeg.org/">FFmpeg</a>.
* The following command converts the provided &lt;input-file&gt; to an MP3 file
* that is played in the announcement:</p> <p> <code>ffmpeg -i &lt;input-file&gt;
* -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 &lt;output-file.mp3&gt;</code>
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Audio">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API Audio
{
public:
Audio();
Audio(Aws::Utils::Json::JsonView jsonValue);
Audio& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline const Locale& GetLocale() const{ return m_locale; }
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline Audio& WithLocale(const Locale& value) { SetLocale(value); return *this;}
/**
* <p>The locale of the audio message. Currently, en-US is supported.</p>
*/
inline Audio& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline Audio& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline Audio& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The location of the audio file. Currently, S3 URLs are supported. Only S3
* locations comprised of safe characters are valid. For more information, see <a
* href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#Safe%20Characters">Safe
* Characters</a>.</p>
*/
inline Audio& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
Locale m_locale;
bool m_localeHasBeenSet;
Aws::String m_location;
bool m_locationHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,234 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/model/BusinessReportStatus.h>
#include <aws/alexaforbusiness/model/BusinessReportFailureCode.h>
#include <aws/alexaforbusiness/model/BusinessReportS3Location.h>
#include <aws/core/utils/DateTime.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 AlexaForBusiness
{
namespace Model
{
/**
* <p>Usage report with specified parameters.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/BusinessReport">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API BusinessReport
{
public:
BusinessReport();
BusinessReport(Aws::Utils::Json::JsonView jsonValue);
BusinessReport& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline const BusinessReportStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline void SetStatus(const BusinessReportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline void SetStatus(BusinessReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline BusinessReport& WithStatus(const BusinessReportStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the report generation execution (RUNNING, SUCCEEDED, or
* FAILED).</p>
*/
inline BusinessReport& WithStatus(BusinessReportStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The failure code.</p>
*/
inline const BusinessReportFailureCode& GetFailureCode() const{ return m_failureCode; }
/**
* <p>The failure code.</p>
*/
inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
/**
* <p>The failure code.</p>
*/
inline void SetFailureCode(const BusinessReportFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
/**
* <p>The failure code.</p>
*/
inline void SetFailureCode(BusinessReportFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
/**
* <p>The failure code.</p>
*/
inline BusinessReport& WithFailureCode(const BusinessReportFailureCode& value) { SetFailureCode(value); return *this;}
/**
* <p>The failure code.</p>
*/
inline BusinessReport& WithFailureCode(BusinessReportFailureCode&& value) { SetFailureCode(std::move(value)); return *this;}
/**
* <p>The S3 location of the output reports.</p>
*/
inline const BusinessReportS3Location& GetS3Location() const{ return m_s3Location; }
/**
* <p>The S3 location of the output reports.</p>
*/
inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
/**
* <p>The S3 location of the output reports.</p>
*/
inline void SetS3Location(const BusinessReportS3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
/**
* <p>The S3 location of the output reports.</p>
*/
inline void SetS3Location(BusinessReportS3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
/**
* <p>The S3 location of the output reports.</p>
*/
inline BusinessReport& WithS3Location(const BusinessReportS3Location& value) { SetS3Location(value); return *this;}
/**
* <p>The S3 location of the output reports.</p>
*/
inline BusinessReport& WithS3Location(BusinessReportS3Location&& value) { SetS3Location(std::move(value)); return *this;}
/**
* <p>The time of report delivery.</p>
*/
inline const Aws::Utils::DateTime& GetDeliveryTime() const{ return m_deliveryTime; }
/**
* <p>The time of report delivery.</p>
*/
inline bool DeliveryTimeHasBeenSet() const { return m_deliveryTimeHasBeenSet; }
/**
* <p>The time of report delivery.</p>
*/
inline void SetDeliveryTime(const Aws::Utils::DateTime& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = value; }
/**
* <p>The time of report delivery.</p>
*/
inline void SetDeliveryTime(Aws::Utils::DateTime&& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = std::move(value); }
/**
* <p>The time of report delivery.</p>
*/
inline BusinessReport& WithDeliveryTime(const Aws::Utils::DateTime& value) { SetDeliveryTime(value); return *this;}
/**
* <p>The time of report delivery.</p>
*/
inline BusinessReport& WithDeliveryTime(Aws::Utils::DateTime&& value) { SetDeliveryTime(std::move(value)); return *this;}
/**
* <p>The download link where a user can download the report.</p>
*/
inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; }
/**
* <p>The download link where a user can download the report.</p>
*/
inline bool DownloadUrlHasBeenSet() const { return m_downloadUrlHasBeenSet; }
/**
* <p>The download link where a user can download the report.</p>
*/
inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = value; }
/**
* <p>The download link where a user can download the report.</p>
*/
inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = std::move(value); }
/**
* <p>The download link where a user can download the report.</p>
*/
inline void SetDownloadUrl(const char* value) { m_downloadUrlHasBeenSet = true; m_downloadUrl.assign(value); }
/**
* <p>The download link where a user can download the report.</p>
*/
inline BusinessReport& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;}
/**
* <p>The download link where a user can download the report.</p>
*/
inline BusinessReport& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;}
/**
* <p>The download link where a user can download the report.</p>
*/
inline BusinessReport& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;}
private:
BusinessReportStatus m_status;
bool m_statusHasBeenSet;
BusinessReportFailureCode m_failureCode;
bool m_failureCodeHasBeenSet;
BusinessReportS3Location m_s3Location;
bool m_s3LocationHasBeenSet;
Aws::Utils::DateTime m_deliveryTime;
bool m_deliveryTimeHasBeenSet;
Aws::String m_downloadUrl;
bool m_downloadUrlHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/model/BusinessReportInterval.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>The content range of the report.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/BusinessReportContentRange">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API BusinessReportContentRange
{
public:
BusinessReportContentRange();
BusinessReportContentRange(Aws::Utils::Json::JsonView jsonValue);
BusinessReportContentRange& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The interval of the content range.</p>
*/
inline const BusinessReportInterval& GetInterval() const{ return m_interval; }
/**
* <p>The interval of the content range.</p>
*/
inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
/**
* <p>The interval of the content range.</p>
*/
inline void SetInterval(const BusinessReportInterval& value) { m_intervalHasBeenSet = true; m_interval = value; }
/**
* <p>The interval of the content range.</p>
*/
inline void SetInterval(BusinessReportInterval&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
/**
* <p>The interval of the content range.</p>
*/
inline BusinessReportContentRange& WithInterval(const BusinessReportInterval& value) { SetInterval(value); return *this;}
/**
* <p>The interval of the content range.</p>
*/
inline BusinessReportContentRange& WithInterval(BusinessReportInterval&& value) { SetInterval(std::move(value)); return *this;}
private:
BusinessReportInterval m_interval;
bool m_intervalHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class BusinessReportFailureCode
{
NOT_SET,
ACCESS_DENIED,
NO_SUCH_BUCKET,
INTERNAL_FAILURE
};
namespace BusinessReportFailureCodeMapper
{
AWS_ALEXAFORBUSINESS_API BusinessReportFailureCode GetBusinessReportFailureCodeForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForBusinessReportFailureCode(BusinessReportFailureCode value);
} // namespace BusinessReportFailureCodeMapper
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class BusinessReportFormat
{
NOT_SET,
CSV,
CSV_ZIP
};
namespace BusinessReportFormatMapper
{
AWS_ALEXAFORBUSINESS_API BusinessReportFormat GetBusinessReportFormatForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForBusinessReportFormat(BusinessReportFormat value);
} // namespace BusinessReportFormatMapper
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class BusinessReportInterval
{
NOT_SET,
ONE_DAY,
ONE_WEEK,
THIRTY_DAYS
};
namespace BusinessReportIntervalMapper
{
AWS_ALEXAFORBUSINESS_API BusinessReportInterval GetBusinessReportIntervalForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForBusinessReportInterval(BusinessReportInterval value);
} // namespace BusinessReportIntervalMapper
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The recurrence of the reports.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/BusinessReportRecurrence">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API BusinessReportRecurrence
{
public:
BusinessReportRecurrence();
BusinessReportRecurrence(Aws::Utils::Json::JsonView jsonValue);
BusinessReportRecurrence& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The start date.</p>
*/
inline const Aws::String& GetStartDate() const{ return m_startDate; }
/**
* <p>The start date.</p>
*/
inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
/**
* <p>The start date.</p>
*/
inline void SetStartDate(const Aws::String& value) { m_startDateHasBeenSet = true; m_startDate = value; }
/**
* <p>The start date.</p>
*/
inline void SetStartDate(Aws::String&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
/**
* <p>The start date.</p>
*/
inline void SetStartDate(const char* value) { m_startDateHasBeenSet = true; m_startDate.assign(value); }
/**
* <p>The start date.</p>
*/
inline BusinessReportRecurrence& WithStartDate(const Aws::String& value) { SetStartDate(value); return *this;}
/**
* <p>The start date.</p>
*/
inline BusinessReportRecurrence& WithStartDate(Aws::String&& value) { SetStartDate(std::move(value)); return *this;}
/**
* <p>The start date.</p>
*/
inline BusinessReportRecurrence& WithStartDate(const char* value) { SetStartDate(value); return *this;}
private:
Aws::String m_startDate;
bool m_startDateHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The S3 location of the output reports.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/BusinessReportS3Location">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API BusinessReportS3Location
{
public:
BusinessReportS3Location();
BusinessReportS3Location(Aws::Utils::Json::JsonView jsonValue);
BusinessReportS3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The path of the business report.</p>
*/
inline const Aws::String& GetPath() const{ return m_path; }
/**
* <p>The path of the business report.</p>
*/
inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
/**
* <p>The path of the business report.</p>
*/
inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
/**
* <p>The path of the business report.</p>
*/
inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
/**
* <p>The path of the business report.</p>
*/
inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
/**
* <p>The path of the business report.</p>
*/
inline BusinessReportS3Location& WithPath(const Aws::String& value) { SetPath(value); return *this;}
/**
* <p>The path of the business report.</p>
*/
inline BusinessReportS3Location& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
/**
* <p>The path of the business report.</p>
*/
inline BusinessReportS3Location& WithPath(const char* value) { SetPath(value); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline const Aws::String& GetBucketName() const{ return m_bucketName; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportS3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportS3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportS3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;}
private:
Aws::String m_path;
bool m_pathHasBeenSet;
Aws::String m_bucketName;
bool m_bucketNameHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,372 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/BusinessReportFormat.h>
#include <aws/alexaforbusiness/model/BusinessReportContentRange.h>
#include <aws/alexaforbusiness/model/BusinessReportRecurrence.h>
#include <aws/alexaforbusiness/model/BusinessReport.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>The schedule of the usage report.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/BusinessReportSchedule">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API BusinessReportSchedule
{
public:
BusinessReportSchedule();
BusinessReportSchedule(Aws::Utils::Json::JsonView jsonValue);
BusinessReportSchedule& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the business report schedule.</p>
*/
inline const Aws::String& GetScheduleArn() const{ return m_scheduleArn; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline bool ScheduleArnHasBeenSet() const { return m_scheduleArnHasBeenSet; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const Aws::String& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = value; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(Aws::String&& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = std::move(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const char* value) { m_scheduleArnHasBeenSet = true; m_scheduleArn.assign(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleArn(const Aws::String& value) { SetScheduleArn(value); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleArn(Aws::String&& value) { SetScheduleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleArn(const char* value) { SetScheduleArn(value); return *this;}
/**
* <p>The name identifier of the schedule.</p>
*/
inline const Aws::String& GetScheduleName() const{ return m_scheduleName; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline bool ScheduleNameHasBeenSet() const { return m_scheduleNameHasBeenSet; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(const Aws::String& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = value; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(Aws::String&& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = std::move(value); }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(const char* value) { m_scheduleNameHasBeenSet = true; m_scheduleName.assign(value); }
/**
* <p>The name identifier of the schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleName(const Aws::String& value) { SetScheduleName(value); return *this;}
/**
* <p>The name identifier of the schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleName(Aws::String&& value) { SetScheduleName(std::move(value)); return *this;}
/**
* <p>The name identifier of the schedule.</p>
*/
inline BusinessReportSchedule& WithScheduleName(const char* value) { SetScheduleName(value); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportSchedule& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportSchedule& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
/**
* <p>The S3 bucket name of the output reports.</p>
*/
inline BusinessReportSchedule& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline BusinessReportSchedule& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline BusinessReportSchedule& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline BusinessReportSchedule& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline const BusinessReportFormat& GetFormat() const{ return m_format; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline void SetFormat(const BusinessReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline void SetFormat(BusinessReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline BusinessReportSchedule& WithFormat(const BusinessReportFormat& value) { SetFormat(value); return *this;}
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline BusinessReportSchedule& WithFormat(BusinessReportFormat&& value) { SetFormat(std::move(value)); return *this;}
/**
* <p>The content range of the reports.</p>
*/
inline const BusinessReportContentRange& GetContentRange() const{ return m_contentRange; }
/**
* <p>The content range of the reports.</p>
*/
inline bool ContentRangeHasBeenSet() const { return m_contentRangeHasBeenSet; }
/**
* <p>The content range of the reports.</p>
*/
inline void SetContentRange(const BusinessReportContentRange& value) { m_contentRangeHasBeenSet = true; m_contentRange = value; }
/**
* <p>The content range of the reports.</p>
*/
inline void SetContentRange(BusinessReportContentRange&& value) { m_contentRangeHasBeenSet = true; m_contentRange = std::move(value); }
/**
* <p>The content range of the reports.</p>
*/
inline BusinessReportSchedule& WithContentRange(const BusinessReportContentRange& value) { SetContentRange(value); return *this;}
/**
* <p>The content range of the reports.</p>
*/
inline BusinessReportSchedule& WithContentRange(BusinessReportContentRange&& value) { SetContentRange(std::move(value)); return *this;}
/**
* <p>The recurrence of the reports.</p>
*/
inline const BusinessReportRecurrence& GetRecurrence() const{ return m_recurrence; }
/**
* <p>The recurrence of the reports.</p>
*/
inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
/**
* <p>The recurrence of the reports.</p>
*/
inline void SetRecurrence(const BusinessReportRecurrence& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
/**
* <p>The recurrence of the reports.</p>
*/
inline void SetRecurrence(BusinessReportRecurrence&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
/**
* <p>The recurrence of the reports.</p>
*/
inline BusinessReportSchedule& WithRecurrence(const BusinessReportRecurrence& value) { SetRecurrence(value); return *this;}
/**
* <p>The recurrence of the reports.</p>
*/
inline BusinessReportSchedule& WithRecurrence(BusinessReportRecurrence&& value) { SetRecurrence(std::move(value)); return *this;}
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline const BusinessReport& GetLastBusinessReport() const{ return m_lastBusinessReport; }
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline bool LastBusinessReportHasBeenSet() const { return m_lastBusinessReportHasBeenSet; }
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline void SetLastBusinessReport(const BusinessReport& value) { m_lastBusinessReportHasBeenSet = true; m_lastBusinessReport = value; }
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline void SetLastBusinessReport(BusinessReport&& value) { m_lastBusinessReportHasBeenSet = true; m_lastBusinessReport = std::move(value); }
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline BusinessReportSchedule& WithLastBusinessReport(const BusinessReport& value) { SetLastBusinessReport(value); return *this;}
/**
* <p>The details of the last business report delivery for a specified time
* interval.</p>
*/
inline BusinessReportSchedule& WithLastBusinessReport(BusinessReport&& value) { SetLastBusinessReport(std::move(value)); return *this;}
private:
Aws::String m_scheduleArn;
bool m_scheduleArnHasBeenSet;
Aws::String m_scheduleName;
bool m_scheduleNameHasBeenSet;
Aws::String m_s3BucketName;
bool m_s3BucketNameHasBeenSet;
Aws::String m_s3KeyPrefix;
bool m_s3KeyPrefixHasBeenSet;
BusinessReportFormat m_format;
bool m_formatHasBeenSet;
BusinessReportContentRange m_contentRange;
bool m_contentRangeHasBeenSet;
BusinessReportRecurrence m_recurrence;
bool m_recurrenceHasBeenSet;
BusinessReport m_lastBusinessReport;
bool m_lastBusinessReportHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class BusinessReportStatus
{
NOT_SET,
RUNNING,
SUCCEEDED,
FAILED
};
namespace BusinessReportStatusMapper
{
AWS_ALEXAFORBUSINESS_API BusinessReportStatus GetBusinessReportStatusForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForBusinessReportStatus(BusinessReportStatus value);
} // namespace BusinessReportStatusMapper
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The skill store category that is shown. Alexa skills are assigned a specific
* skill category during creation, such as News, Social, and Sports.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Category">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API Category
{
public:
Category();
Category(Aws::Utils::Json::JsonView jsonValue);
Category& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the skill store category.</p>
*/
inline long long GetCategoryId() const{ return m_categoryId; }
/**
* <p>The ID of the skill store category.</p>
*/
inline bool CategoryIdHasBeenSet() const { return m_categoryIdHasBeenSet; }
/**
* <p>The ID of the skill store category.</p>
*/
inline void SetCategoryId(long long value) { m_categoryIdHasBeenSet = true; m_categoryId = value; }
/**
* <p>The ID of the skill store category.</p>
*/
inline Category& WithCategoryId(long long value) { SetCategoryId(value); return *this;}
/**
* <p>The name of the skill store category.</p>
*/
inline const Aws::String& GetCategoryName() const{ return m_categoryName; }
/**
* <p>The name of the skill store category.</p>
*/
inline bool CategoryNameHasBeenSet() const { return m_categoryNameHasBeenSet; }
/**
* <p>The name of the skill store category.</p>
*/
inline void SetCategoryName(const Aws::String& value) { m_categoryNameHasBeenSet = true; m_categoryName = value; }
/**
* <p>The name of the skill store category.</p>
*/
inline void SetCategoryName(Aws::String&& value) { m_categoryNameHasBeenSet = true; m_categoryName = std::move(value); }
/**
* <p>The name of the skill store category.</p>
*/
inline void SetCategoryName(const char* value) { m_categoryNameHasBeenSet = true; m_categoryName.assign(value); }
/**
* <p>The name of the skill store category.</p>
*/
inline Category& WithCategoryName(const Aws::String& value) { SetCategoryName(value); return *this;}
/**
* <p>The name of the skill store category.</p>
*/
inline Category& WithCategoryName(Aws::String&& value) { SetCategoryName(std::move(value)); return *this;}
/**
* <p>The name of the skill store category.</p>
*/
inline Category& WithCategoryName(const char* value) { SetCategoryName(value); return *this;}
private:
long long m_categoryId;
bool m_categoryIdHasBeenSet;
Aws::String m_categoryName;
bool m_categoryNameHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class CommsProtocol
{
NOT_SET,
SIP,
SIPS,
H323
};
namespace CommsProtocolMapper
{
AWS_ALEXAFORBUSINESS_API CommsProtocol GetCommsProtocolForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForCommsProtocol(CommsProtocol value);
} // namespace CommsProtocolMapper
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The default conference provider that is used if no other scheduled meetings
* are detected.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ConferencePreference">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API ConferencePreference
{
public:
ConferencePreference();
ConferencePreference(Aws::Utils::Json::JsonView jsonValue);
ConferencePreference& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the default conference provider.</p>
*/
inline const Aws::String& GetDefaultConferenceProviderArn() const{ return m_defaultConferenceProviderArn; }
/**
* <p>The ARN of the default conference provider.</p>
*/
inline bool DefaultConferenceProviderArnHasBeenSet() const { return m_defaultConferenceProviderArnHasBeenSet; }
/**
* <p>The ARN of the default conference provider.</p>
*/
inline void SetDefaultConferenceProviderArn(const Aws::String& value) { m_defaultConferenceProviderArnHasBeenSet = true; m_defaultConferenceProviderArn = value; }
/**
* <p>The ARN of the default conference provider.</p>
*/
inline void SetDefaultConferenceProviderArn(Aws::String&& value) { m_defaultConferenceProviderArnHasBeenSet = true; m_defaultConferenceProviderArn = std::move(value); }
/**
* <p>The ARN of the default conference provider.</p>
*/
inline void SetDefaultConferenceProviderArn(const char* value) { m_defaultConferenceProviderArnHasBeenSet = true; m_defaultConferenceProviderArn.assign(value); }
/**
* <p>The ARN of the default conference provider.</p>
*/
inline ConferencePreference& WithDefaultConferenceProviderArn(const Aws::String& value) { SetDefaultConferenceProviderArn(value); return *this;}
/**
* <p>The ARN of the default conference provider.</p>
*/
inline ConferencePreference& WithDefaultConferenceProviderArn(Aws::String&& value) { SetDefaultConferenceProviderArn(std::move(value)); return *this;}
/**
* <p>The ARN of the default conference provider.</p>
*/
inline ConferencePreference& WithDefaultConferenceProviderArn(const char* value) { SetDefaultConferenceProviderArn(value); return *this;}
private:
Aws::String m_defaultConferenceProviderArn;
bool m_defaultConferenceProviderArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,275 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/ConferenceProviderType.h>
#include <aws/alexaforbusiness/model/IPDialIn.h>
#include <aws/alexaforbusiness/model/PSTNDialIn.h>
#include <aws/alexaforbusiness/model/MeetingSetting.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>An entity that provides a conferencing solution. Alexa for Business acts as
* the voice interface and mediator that connects users to their preferred
* conference provider. Examples of conference providers include Amazon Chime,
* Zoom, Cisco, and Polycom. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ConferenceProvider">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API ConferenceProvider
{
public:
ConferenceProvider();
ConferenceProvider(Aws::Utils::Json::JsonView jsonValue);
ConferenceProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline ConferenceProvider& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline ConferenceProvider& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created conference provider.</p>
*/
inline ConferenceProvider& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The name of the conference provider.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the conference provider.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the conference provider.</p>
*/
inline ConferenceProvider& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the conference provider.</p>
*/
inline ConferenceProvider& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the conference provider.</p>
*/
inline ConferenceProvider& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The type of conference providers.</p>
*/
inline const ConferenceProviderType& GetType() const{ return m_type; }
/**
* <p>The type of conference providers.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The type of conference providers.</p>
*/
inline void SetType(const ConferenceProviderType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The type of conference providers.</p>
*/
inline void SetType(ConferenceProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The type of conference providers.</p>
*/
inline ConferenceProvider& WithType(const ConferenceProviderType& value) { SetType(value); return *this;}
/**
* <p>The type of conference providers.</p>
*/
inline ConferenceProvider& WithType(ConferenceProviderType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline const IPDialIn& GetIPDialIn() const{ return m_iPDialIn; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline bool IPDialInHasBeenSet() const { return m_iPDialInHasBeenSet; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline void SetIPDialIn(const IPDialIn& value) { m_iPDialInHasBeenSet = true; m_iPDialIn = value; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline void SetIPDialIn(IPDialIn&& value) { m_iPDialInHasBeenSet = true; m_iPDialIn = std::move(value); }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline ConferenceProvider& WithIPDialIn(const IPDialIn& value) { SetIPDialIn(value); return *this;}
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline ConferenceProvider& WithIPDialIn(IPDialIn&& value) { SetIPDialIn(std::move(value)); return *this;}
/**
* <p>The information for PSTN conferencing.</p>
*/
inline const PSTNDialIn& GetPSTNDialIn() const{ return m_pSTNDialIn; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline bool PSTNDialInHasBeenSet() const { return m_pSTNDialInHasBeenSet; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline void SetPSTNDialIn(const PSTNDialIn& value) { m_pSTNDialInHasBeenSet = true; m_pSTNDialIn = value; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline void SetPSTNDialIn(PSTNDialIn&& value) { m_pSTNDialInHasBeenSet = true; m_pSTNDialIn = std::move(value); }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline ConferenceProvider& WithPSTNDialIn(const PSTNDialIn& value) { SetPSTNDialIn(value); return *this;}
/**
* <p>The information for PSTN conferencing.</p>
*/
inline ConferenceProvider& WithPSTNDialIn(PSTNDialIn&& value) { SetPSTNDialIn(std::move(value)); return *this;}
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline const MeetingSetting& GetMeetingSetting() const{ return m_meetingSetting; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline bool MeetingSettingHasBeenSet() const { return m_meetingSettingHasBeenSet; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline void SetMeetingSetting(const MeetingSetting& value) { m_meetingSettingHasBeenSet = true; m_meetingSetting = value; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline void SetMeetingSetting(MeetingSetting&& value) { m_meetingSettingHasBeenSet = true; m_meetingSetting = std::move(value); }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline ConferenceProvider& WithMeetingSetting(const MeetingSetting& value) { SetMeetingSetting(value); return *this;}
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline ConferenceProvider& WithMeetingSetting(MeetingSetting&& value) { SetMeetingSetting(std::move(value)); return *this;}
private:
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
ConferenceProviderType m_type;
bool m_typeHasBeenSet;
IPDialIn m_iPDialIn;
bool m_iPDialInHasBeenSet;
PSTNDialIn m_pSTNDialIn;
bool m_pSTNDialInHasBeenSet;
MeetingSetting m_meetingSetting;
bool m_meetingSettingHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,39 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class ConferenceProviderType
{
NOT_SET,
CHIME,
BLUEJEANS,
FUZE,
GOOGLE_HANGOUTS,
POLYCOM,
RINGCENTRAL,
SKYPE_FOR_BUSINESS,
WEBEX,
ZOOM,
CUSTOM
};
namespace ConferenceProviderTypeMapper
{
AWS_ALEXAFORBUSINESS_API ConferenceProviderType GetConferenceProviderTypeForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForConferenceProviderType(ConferenceProviderType value);
} // namespace ConferenceProviderTypeMapper
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class ConnectionStatus
{
NOT_SET,
ONLINE,
OFFLINE
};
namespace ConnectionStatusMapper
{
AWS_ALEXAFORBUSINESS_API ConnectionStatus GetConnectionStatusForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForConnectionStatus(ConnectionStatus value);
} // namespace ConnectionStatusMapper
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,379 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/PhoneNumber.h>
#include <aws/alexaforbusiness/model/SipAddress.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>A contact with attributes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Contact">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API Contact
{
public:
Contact();
Contact(Aws::Utils::Json::JsonView jsonValue);
Contact& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the contact.</p>
*/
inline const Aws::String& GetContactArn() const{ return m_contactArn; }
/**
* <p>The ARN of the contact.</p>
*/
inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
/**
* <p>The ARN of the contact.</p>
*/
inline Contact& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the contact.</p>
*/
inline Contact& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
/**
* <p>The ARN of the contact.</p>
*/
inline Contact& WithContactArn(const char* value) { SetContactArn(value); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline Contact& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline Contact& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline Contact& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline const Aws::String& GetFirstName() const{ return m_firstName; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithFirstName(const char* value) { SetFirstName(value); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline const Aws::String& GetLastName() const{ return m_lastName; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline Contact& WithLastName(const char* value) { SetLastName(value); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline Contact& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline Contact& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can either specify PhoneNumber or PhoneNumbers. We recommend that you use
* PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline Contact& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline const Aws::Vector<PhoneNumber>& GetPhoneNumbers() const{ return m_phoneNumbers; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline bool PhoneNumbersHasBeenSet() const { return m_phoneNumbersHasBeenSet; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = value; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = std::move(value); }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline Contact& WithPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { SetPhoneNumbers(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline Contact& WithPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { SetPhoneNumbers(std::move(value)); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline Contact& AddPhoneNumbers(const PhoneNumber& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(value); return *this; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline Contact& AddPhoneNumbers(PhoneNumber&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline const Aws::Vector<SipAddress>& GetSipAddresses() const{ return m_sipAddresses; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline bool SipAddressesHasBeenSet() const { return m_sipAddressesHasBeenSet; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(const Aws::Vector<SipAddress>& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = value; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(Aws::Vector<SipAddress>&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = std::move(value); }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline Contact& WithSipAddresses(const Aws::Vector<SipAddress>& value) { SetSipAddresses(value); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline Contact& WithSipAddresses(Aws::Vector<SipAddress>&& value) { SetSipAddresses(std::move(value)); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline Contact& AddSipAddresses(const SipAddress& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(value); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline Contact& AddSipAddresses(SipAddress&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(std::move(value)); return *this; }
private:
Aws::String m_contactArn;
bool m_contactArnHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_firstName;
bool m_firstNameHasBeenSet;
Aws::String m_lastName;
bool m_lastNameHasBeenSet;
Aws::String m_phoneNumber;
bool m_phoneNumberHasBeenSet;
Aws::Vector<PhoneNumber> m_phoneNumbers;
bool m_phoneNumbersHasBeenSet;
Aws::Vector<SipAddress> m_sipAddresses;
bool m_sipAddressesHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,371 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/PhoneNumber.h>
#include <aws/alexaforbusiness/model/SipAddress.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Information related to a contact.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ContactData">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API ContactData
{
public:
ContactData();
ContactData(Aws::Utils::Json::JsonView jsonValue);
ContactData& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the contact.</p>
*/
inline const Aws::String& GetContactArn() const{ return m_contactArn; }
/**
* <p>The ARN of the contact.</p>
*/
inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
/**
* <p>The ARN of the contact.</p>
*/
inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
/**
* <p>The ARN of the contact.</p>
*/
inline ContactData& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the contact.</p>
*/
inline ContactData& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
/**
* <p>The ARN of the contact.</p>
*/
inline ContactData& WithContactArn(const char* value) { SetContactArn(value); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline ContactData& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline ContactData& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline ContactData& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline const Aws::String& GetFirstName() const{ return m_firstName; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
/**
* <p>The first name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithFirstName(const char* value) { SetFirstName(value); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline const Aws::String& GetLastName() const{ return m_lastName; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
/**
* <p>The last name of the contact, used to call the contact on the device.</p>
*/
inline ContactData& WithLastName(const char* value) { SetLastName(value); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline ContactData& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline ContactData& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
/**
* <p>The phone number of the contact. The phone number type defaults to WORK. You
* can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers,
* which lets you specify the phone number type and multiple numbers.</p>
*/
inline ContactData& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline const Aws::Vector<PhoneNumber>& GetPhoneNumbers() const{ return m_phoneNumbers; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline bool PhoneNumbersHasBeenSet() const { return m_phoneNumbersHasBeenSet; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = value; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = std::move(value); }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline ContactData& WithPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { SetPhoneNumbers(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline ContactData& WithPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { SetPhoneNumbers(std::move(value)); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline ContactData& AddPhoneNumbers(const PhoneNumber& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(value); return *this; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline ContactData& AddPhoneNumbers(PhoneNumber&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline const Aws::Vector<SipAddress>& GetSipAddresses() const{ return m_sipAddresses; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline bool SipAddressesHasBeenSet() const { return m_sipAddressesHasBeenSet; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(const Aws::Vector<SipAddress>& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = value; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(Aws::Vector<SipAddress>&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = std::move(value); }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline ContactData& WithSipAddresses(const Aws::Vector<SipAddress>& value) { SetSipAddresses(value); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline ContactData& WithSipAddresses(Aws::Vector<SipAddress>&& value) { SetSipAddresses(std::move(value)); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline ContactData& AddSipAddresses(const SipAddress& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(value); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline ContactData& AddSipAddresses(SipAddress&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(std::move(value)); return *this; }
private:
Aws::String m_contactArn;
bool m_contactArnHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_firstName;
bool m_firstNameHasBeenSet;
Aws::String m_lastName;
bool m_lastNameHasBeenSet;
Aws::String m_phoneNumber;
bool m_phoneNumberHasBeenSet;
Aws::Vector<PhoneNumber> m_phoneNumbers;
bool m_phoneNumbersHasBeenSet;
Aws::Vector<SipAddress> m_sipAddresses;
bool m_sipAddressesHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,180 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Text.h>
#include <aws/alexaforbusiness/model/Ssml.h>
#include <aws/alexaforbusiness/model/Audio.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>The content definition. This can contain only one text, SSML, or audio list
* object.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Content">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API Content
{
public:
Content();
Content(Aws::Utils::Json::JsonView jsonValue);
Content& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The list of text messages.</p>
*/
inline const Aws::Vector<Text>& GetTextList() const{ return m_textList; }
/**
* <p>The list of text messages.</p>
*/
inline bool TextListHasBeenSet() const { return m_textListHasBeenSet; }
/**
* <p>The list of text messages.</p>
*/
inline void SetTextList(const Aws::Vector<Text>& value) { m_textListHasBeenSet = true; m_textList = value; }
/**
* <p>The list of text messages.</p>
*/
inline void SetTextList(Aws::Vector<Text>&& value) { m_textListHasBeenSet = true; m_textList = std::move(value); }
/**
* <p>The list of text messages.</p>
*/
inline Content& WithTextList(const Aws::Vector<Text>& value) { SetTextList(value); return *this;}
/**
* <p>The list of text messages.</p>
*/
inline Content& WithTextList(Aws::Vector<Text>&& value) { SetTextList(std::move(value)); return *this;}
/**
* <p>The list of text messages.</p>
*/
inline Content& AddTextList(const Text& value) { m_textListHasBeenSet = true; m_textList.push_back(value); return *this; }
/**
* <p>The list of text messages.</p>
*/
inline Content& AddTextList(Text&& value) { m_textListHasBeenSet = true; m_textList.push_back(std::move(value)); return *this; }
/**
* <p>The list of SSML messages.</p>
*/
inline const Aws::Vector<Ssml>& GetSsmlList() const{ return m_ssmlList; }
/**
* <p>The list of SSML messages.</p>
*/
inline bool SsmlListHasBeenSet() const { return m_ssmlListHasBeenSet; }
/**
* <p>The list of SSML messages.</p>
*/
inline void SetSsmlList(const Aws::Vector<Ssml>& value) { m_ssmlListHasBeenSet = true; m_ssmlList = value; }
/**
* <p>The list of SSML messages.</p>
*/
inline void SetSsmlList(Aws::Vector<Ssml>&& value) { m_ssmlListHasBeenSet = true; m_ssmlList = std::move(value); }
/**
* <p>The list of SSML messages.</p>
*/
inline Content& WithSsmlList(const Aws::Vector<Ssml>& value) { SetSsmlList(value); return *this;}
/**
* <p>The list of SSML messages.</p>
*/
inline Content& WithSsmlList(Aws::Vector<Ssml>&& value) { SetSsmlList(std::move(value)); return *this;}
/**
* <p>The list of SSML messages.</p>
*/
inline Content& AddSsmlList(const Ssml& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(value); return *this; }
/**
* <p>The list of SSML messages.</p>
*/
inline Content& AddSsmlList(Ssml&& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(std::move(value)); return *this; }
/**
* <p>The list of audio messages.</p>
*/
inline const Aws::Vector<Audio>& GetAudioList() const{ return m_audioList; }
/**
* <p>The list of audio messages.</p>
*/
inline bool AudioListHasBeenSet() const { return m_audioListHasBeenSet; }
/**
* <p>The list of audio messages.</p>
*/
inline void SetAudioList(const Aws::Vector<Audio>& value) { m_audioListHasBeenSet = true; m_audioList = value; }
/**
* <p>The list of audio messages.</p>
*/
inline void SetAudioList(Aws::Vector<Audio>&& value) { m_audioListHasBeenSet = true; m_audioList = std::move(value); }
/**
* <p>The list of audio messages.</p>
*/
inline Content& WithAudioList(const Aws::Vector<Audio>& value) { SetAudioList(value); return *this;}
/**
* <p>The list of audio messages.</p>
*/
inline Content& WithAudioList(Aws::Vector<Audio>&& value) { SetAudioList(std::move(value)); return *this;}
/**
* <p>The list of audio messages.</p>
*/
inline Content& AddAudioList(const Audio& value) { m_audioListHasBeenSet = true; m_audioList.push_back(value); return *this; }
/**
* <p>The list of audio messages.</p>
*/
inline Content& AddAudioList(Audio&& value) { m_audioListHasBeenSet = true; m_audioList.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Text> m_textList;
bool m_textListHasBeenSet;
Aws::Vector<Ssml> m_ssmlList;
bool m_ssmlListHasBeenSet;
Aws::Vector<Audio> m_audioList;
bool m_audioListHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,182 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateAddressBookRequest : public AlexaForBusinessRequest
{
public:
CreateAddressBookRequest();
// 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 "CreateAddressBook"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the address book.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the address book.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the address book.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the address book.</p>
*/
inline CreateAddressBookRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline CreateAddressBookRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the address book.</p>
*/
inline CreateAddressBookRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the address book.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the address book.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the address book.</p>
*/
inline CreateAddressBookRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline CreateAddressBookRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the address book.</p>
*/
inline CreateAddressBookRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateAddressBookRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateAddressBookRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateAddressBookRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateAddressBookResult
{
public:
CreateAddressBookResult();
CreateAddressBookResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateAddressBookResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly created address book.</p>
*/
inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArn = value; }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArn = std::move(value); }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetAddressBookArn(const char* value) { m_addressBookArn.assign(value); }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateAddressBookResult& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;}
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateAddressBookResult& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateAddressBookResult& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;}
private:
Aws::String m_addressBookArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,397 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/BusinessReportFormat.h>
#include <aws/alexaforbusiness/model/BusinessReportContentRange.h>
#include <aws/alexaforbusiness/model/BusinessReportRecurrence.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateBusinessReportScheduleRequest : public AlexaForBusinessRequest
{
public:
CreateBusinessReportScheduleRequest();
// 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 "CreateBusinessReportSchedule"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name identifier of the schedule.</p>
*/
inline const Aws::String& GetScheduleName() const{ return m_scheduleName; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline bool ScheduleNameHasBeenSet() const { return m_scheduleNameHasBeenSet; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(const Aws::String& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = value; }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(Aws::String&& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = std::move(value); }
/**
* <p>The name identifier of the schedule.</p>
*/
inline void SetScheduleName(const char* value) { m_scheduleNameHasBeenSet = true; m_scheduleName.assign(value); }
/**
* <p>The name identifier of the schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& WithScheduleName(const Aws::String& value) { SetScheduleName(value); return *this;}
/**
* <p>The name identifier of the schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& WithScheduleName(Aws::String&& value) { SetScheduleName(std::move(value)); return *this;}
/**
* <p>The name identifier of the schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& WithScheduleName(const char* value) { SetScheduleName(value); return *this;}
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline CreateBusinessReportScheduleRequest& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline CreateBusinessReportScheduleRequest& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
/**
* <p>The S3 bucket name of the output reports. If this isn't specified, the report
* can be retrieved from a download link by calling ListBusinessReportSchedule.
* </p>
*/
inline CreateBusinessReportScheduleRequest& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline CreateBusinessReportScheduleRequest& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline CreateBusinessReportScheduleRequest& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
/**
* <p>The S3 key where the report is delivered.</p>
*/
inline CreateBusinessReportScheduleRequest& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline const BusinessReportFormat& GetFormat() const{ return m_format; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline void SetFormat(const BusinessReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline void SetFormat(BusinessReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline CreateBusinessReportScheduleRequest& WithFormat(const BusinessReportFormat& value) { SetFormat(value); return *this;}
/**
* <p>The format of the generated report (individual CSV files or zipped files of
* individual files).</p>
*/
inline CreateBusinessReportScheduleRequest& WithFormat(BusinessReportFormat&& value) { SetFormat(std::move(value)); return *this;}
/**
* <p>The content range of the reports.</p>
*/
inline const BusinessReportContentRange& GetContentRange() const{ return m_contentRange; }
/**
* <p>The content range of the reports.</p>
*/
inline bool ContentRangeHasBeenSet() const { return m_contentRangeHasBeenSet; }
/**
* <p>The content range of the reports.</p>
*/
inline void SetContentRange(const BusinessReportContentRange& value) { m_contentRangeHasBeenSet = true; m_contentRange = value; }
/**
* <p>The content range of the reports.</p>
*/
inline void SetContentRange(BusinessReportContentRange&& value) { m_contentRangeHasBeenSet = true; m_contentRange = std::move(value); }
/**
* <p>The content range of the reports.</p>
*/
inline CreateBusinessReportScheduleRequest& WithContentRange(const BusinessReportContentRange& value) { SetContentRange(value); return *this;}
/**
* <p>The content range of the reports.</p>
*/
inline CreateBusinessReportScheduleRequest& WithContentRange(BusinessReportContentRange&& value) { SetContentRange(std::move(value)); return *this;}
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline const BusinessReportRecurrence& GetRecurrence() const{ return m_recurrence; }
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline void SetRecurrence(const BusinessReportRecurrence& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline void SetRecurrence(BusinessReportRecurrence&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline CreateBusinessReportScheduleRequest& WithRecurrence(const BusinessReportRecurrence& value) { SetRecurrence(value); return *this;}
/**
* <p>The recurrence of the reports. If this isn't specified, the report will only
* be delivered one time when the API is called. </p>
*/
inline CreateBusinessReportScheduleRequest& WithRecurrence(BusinessReportRecurrence&& value) { SetRecurrence(std::move(value)); return *this;}
/**
* <p>The client request token.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The client request token.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The client request token.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The client request token.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The client request token.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The client request token.</p>
*/
inline CreateBusinessReportScheduleRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The client request token.</p>
*/
inline CreateBusinessReportScheduleRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The client request token.</p>
*/
inline CreateBusinessReportScheduleRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The tags for the business report schedule.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the business report schedule.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tags for the business report schedule.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tags for the business report schedule.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tags for the business report schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the business report schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the business report schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tags for the business report schedule.</p>
*/
inline CreateBusinessReportScheduleRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_scheduleName;
bool m_scheduleNameHasBeenSet;
Aws::String m_s3BucketName;
bool m_s3BucketNameHasBeenSet;
Aws::String m_s3KeyPrefix;
bool m_s3KeyPrefixHasBeenSet;
BusinessReportFormat m_format;
bool m_formatHasBeenSet;
BusinessReportContentRange m_contentRange;
bool m_contentRangeHasBeenSet;
BusinessReportRecurrence m_recurrence;
bool m_recurrenceHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateBusinessReportScheduleResult
{
public:
CreateBusinessReportScheduleResult();
CreateBusinessReportScheduleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateBusinessReportScheduleResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the business report schedule.</p>
*/
inline const Aws::String& GetScheduleArn() const{ return m_scheduleArn; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const Aws::String& value) { m_scheduleArn = value; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(Aws::String&& value) { m_scheduleArn = std::move(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const char* value) { m_scheduleArn.assign(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline CreateBusinessReportScheduleResult& WithScheduleArn(const Aws::String& value) { SetScheduleArn(value); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline CreateBusinessReportScheduleResult& WithScheduleArn(Aws::String&& value) { SetScheduleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline CreateBusinessReportScheduleResult& WithScheduleArn(const char* value) { SetScheduleArn(value); return *this;}
private:
Aws::String m_scheduleArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,270 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/ConferenceProviderType.h>
#include <aws/alexaforbusiness/model/IPDialIn.h>
#include <aws/alexaforbusiness/model/PSTNDialIn.h>
#include <aws/alexaforbusiness/model/MeetingSetting.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateConferenceProviderRequest : public AlexaForBusinessRequest
{
public:
CreateConferenceProviderRequest();
// 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 "CreateConferenceProvider"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the conference provider.</p>
*/
inline const Aws::String& GetConferenceProviderName() const{ return m_conferenceProviderName; }
/**
* <p>The name of the conference provider.</p>
*/
inline bool ConferenceProviderNameHasBeenSet() const { return m_conferenceProviderNameHasBeenSet; }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetConferenceProviderName(const Aws::String& value) { m_conferenceProviderNameHasBeenSet = true; m_conferenceProviderName = value; }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetConferenceProviderName(Aws::String&& value) { m_conferenceProviderNameHasBeenSet = true; m_conferenceProviderName = std::move(value); }
/**
* <p>The name of the conference provider.</p>
*/
inline void SetConferenceProviderName(const char* value) { m_conferenceProviderNameHasBeenSet = true; m_conferenceProviderName.assign(value); }
/**
* <p>The name of the conference provider.</p>
*/
inline CreateConferenceProviderRequest& WithConferenceProviderName(const Aws::String& value) { SetConferenceProviderName(value); return *this;}
/**
* <p>The name of the conference provider.</p>
*/
inline CreateConferenceProviderRequest& WithConferenceProviderName(Aws::String&& value) { SetConferenceProviderName(std::move(value)); return *this;}
/**
* <p>The name of the conference provider.</p>
*/
inline CreateConferenceProviderRequest& WithConferenceProviderName(const char* value) { SetConferenceProviderName(value); return *this;}
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline const ConferenceProviderType& GetConferenceProviderType() const{ return m_conferenceProviderType; }
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline bool ConferenceProviderTypeHasBeenSet() const { return m_conferenceProviderTypeHasBeenSet; }
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline void SetConferenceProviderType(const ConferenceProviderType& value) { m_conferenceProviderTypeHasBeenSet = true; m_conferenceProviderType = value; }
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline void SetConferenceProviderType(ConferenceProviderType&& value) { m_conferenceProviderTypeHasBeenSet = true; m_conferenceProviderType = std::move(value); }
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline CreateConferenceProviderRequest& WithConferenceProviderType(const ConferenceProviderType& value) { SetConferenceProviderType(value); return *this;}
/**
* <p>Represents a type within a list of predefined types.</p>
*/
inline CreateConferenceProviderRequest& WithConferenceProviderType(ConferenceProviderType&& value) { SetConferenceProviderType(std::move(value)); return *this;}
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline const IPDialIn& GetIPDialIn() const{ return m_iPDialIn; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline bool IPDialInHasBeenSet() const { return m_iPDialInHasBeenSet; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline void SetIPDialIn(const IPDialIn& value) { m_iPDialInHasBeenSet = true; m_iPDialIn = value; }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline void SetIPDialIn(IPDialIn&& value) { m_iPDialInHasBeenSet = true; m_iPDialIn = std::move(value); }
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline CreateConferenceProviderRequest& WithIPDialIn(const IPDialIn& value) { SetIPDialIn(value); return *this;}
/**
* <p>The IP endpoint and protocol for calling.</p>
*/
inline CreateConferenceProviderRequest& WithIPDialIn(IPDialIn&& value) { SetIPDialIn(std::move(value)); return *this;}
/**
* <p>The information for PSTN conferencing.</p>
*/
inline const PSTNDialIn& GetPSTNDialIn() const{ return m_pSTNDialIn; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline bool PSTNDialInHasBeenSet() const { return m_pSTNDialInHasBeenSet; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline void SetPSTNDialIn(const PSTNDialIn& value) { m_pSTNDialInHasBeenSet = true; m_pSTNDialIn = value; }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline void SetPSTNDialIn(PSTNDialIn&& value) { m_pSTNDialInHasBeenSet = true; m_pSTNDialIn = std::move(value); }
/**
* <p>The information for PSTN conferencing.</p>
*/
inline CreateConferenceProviderRequest& WithPSTNDialIn(const PSTNDialIn& value) { SetPSTNDialIn(value); return *this;}
/**
* <p>The information for PSTN conferencing.</p>
*/
inline CreateConferenceProviderRequest& WithPSTNDialIn(PSTNDialIn&& value) { SetPSTNDialIn(std::move(value)); return *this;}
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline const MeetingSetting& GetMeetingSetting() const{ return m_meetingSetting; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline bool MeetingSettingHasBeenSet() const { return m_meetingSettingHasBeenSet; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline void SetMeetingSetting(const MeetingSetting& value) { m_meetingSettingHasBeenSet = true; m_meetingSetting = value; }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline void SetMeetingSetting(MeetingSetting&& value) { m_meetingSettingHasBeenSet = true; m_meetingSetting = std::move(value); }
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline CreateConferenceProviderRequest& WithMeetingSetting(const MeetingSetting& value) { SetMeetingSetting(value); return *this;}
/**
* <p>The meeting settings for the conference provider.</p>
*/
inline CreateConferenceProviderRequest& WithMeetingSetting(MeetingSetting&& value) { SetMeetingSetting(std::move(value)); return *this;}
/**
* <p>The request token of the client.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The request token of the client.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The request token of the client.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The request token of the client.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The request token of the client.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The request token of the client.</p>
*/
inline CreateConferenceProviderRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The request token of the client.</p>
*/
inline CreateConferenceProviderRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The request token of the client.</p>
*/
inline CreateConferenceProviderRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_conferenceProviderName;
bool m_conferenceProviderNameHasBeenSet;
ConferenceProviderType m_conferenceProviderType;
bool m_conferenceProviderTypeHasBeenSet;
IPDialIn m_iPDialIn;
bool m_iPDialInHasBeenSet;
PSTNDialIn m_pSTNDialIn;
bool m_pSTNDialInHasBeenSet;
MeetingSetting m_meetingSetting;
bool m_meetingSettingHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateConferenceProviderResult
{
public:
CreateConferenceProviderResult();
CreateConferenceProviderResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateConferenceProviderResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline const Aws::String& GetConferenceProviderArn() const{ return m_conferenceProviderArn; }
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline void SetConferenceProviderArn(const Aws::String& value) { m_conferenceProviderArn = value; }
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline void SetConferenceProviderArn(Aws::String&& value) { m_conferenceProviderArn = std::move(value); }
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline void SetConferenceProviderArn(const char* value) { m_conferenceProviderArn.assign(value); }
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline CreateConferenceProviderResult& WithConferenceProviderArn(const Aws::String& value) { SetConferenceProviderArn(value); return *this;}
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline CreateConferenceProviderResult& WithConferenceProviderArn(Aws::String&& value) { SetConferenceProviderArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly-created conference provider.</p>
*/
inline CreateConferenceProviderResult& WithConferenceProviderArn(const char* value) { SetConferenceProviderArn(value); return *this;}
private:
Aws::String m_conferenceProviderArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/PhoneNumber.h>
#include <aws/alexaforbusiness/model/SipAddress.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateContactRequest : public AlexaForBusinessRequest
{
public:
CreateContactRequest();
// 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 "CreateContact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the contact to display on the console.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The name of the contact to display on the console.</p>
*/
inline CreateContactRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline CreateContactRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name of the contact to display on the console.</p>
*/
inline CreateContactRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline const Aws::String& GetFirstName() const{ return m_firstName; }
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
/**
* <p>The first name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithFirstName(const char* value) { SetFirstName(value); return *this;}
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline const Aws::String& GetLastName() const{ return m_lastName; }
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
/**
* <p>The last name of the contact that is used to call the contact on the
* device.</p>
*/
inline CreateContactRequest& WithLastName(const char* value) { SetLastName(value); return *this;}
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline CreateContactRequest& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline CreateContactRequest& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
/**
* <p>The phone number of the contact in E.164 format. The phone number type
* defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that
* you use PhoneNumbers, which lets you specify the phone number type and multiple
* numbers.</p>
*/
inline CreateContactRequest& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline const Aws::Vector<PhoneNumber>& GetPhoneNumbers() const{ return m_phoneNumbers; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline bool PhoneNumbersHasBeenSet() const { return m_phoneNumbersHasBeenSet; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = value; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline void SetPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = std::move(value); }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline CreateContactRequest& WithPhoneNumbers(const Aws::Vector<PhoneNumber>& value) { SetPhoneNumbers(value); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline CreateContactRequest& WithPhoneNumbers(Aws::Vector<PhoneNumber>&& value) { SetPhoneNumbers(std::move(value)); return *this;}
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline CreateContactRequest& AddPhoneNumbers(const PhoneNumber& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(value); return *this; }
/**
* <p>The list of phone numbers for the contact.</p>
*/
inline CreateContactRequest& AddPhoneNumbers(PhoneNumber&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(std::move(value)); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline const Aws::Vector<SipAddress>& GetSipAddresses() const{ return m_sipAddresses; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline bool SipAddressesHasBeenSet() const { return m_sipAddressesHasBeenSet; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(const Aws::Vector<SipAddress>& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = value; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline void SetSipAddresses(Aws::Vector<SipAddress>&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses = std::move(value); }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline CreateContactRequest& WithSipAddresses(const Aws::Vector<SipAddress>& value) { SetSipAddresses(value); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline CreateContactRequest& WithSipAddresses(Aws::Vector<SipAddress>&& value) { SetSipAddresses(std::move(value)); return *this;}
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline CreateContactRequest& AddSipAddresses(const SipAddress& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(value); return *this; }
/**
* <p>The list of SIP addresses for the contact.</p>
*/
inline CreateContactRequest& AddSipAddresses(SipAddress&& value) { m_sipAddressesHasBeenSet = true; m_sipAddresses.push_back(std::move(value)); return *this; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline CreateContactRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline CreateContactRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency.</p>
*/
inline CreateContactRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_firstName;
bool m_firstNameHasBeenSet;
Aws::String m_lastName;
bool m_lastNameHasBeenSet;
Aws::String m_phoneNumber;
bool m_phoneNumberHasBeenSet;
Aws::Vector<PhoneNumber> m_phoneNumbers;
bool m_phoneNumbersHasBeenSet;
Aws::Vector<SipAddress> m_sipAddresses;
bool m_sipAddressesHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateContactResult
{
public:
CreateContactResult();
CreateContactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateContactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly created address book.</p>
*/
inline const Aws::String& GetContactArn() const{ return m_contactArn; }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateContactResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateContactResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created address book.</p>
*/
inline CreateContactResult& WithContactArn(const char* value) { SetContactArn(value); return *this;}
private:
Aws::String m_contactArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,144 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/EndOfMeetingReminderType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Creates settings for the end of meeting reminder feature that are applied to
* a room profile. The end of meeting reminder enables Alexa to remind users when a
* meeting is ending.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateEndOfMeetingReminder">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API CreateEndOfMeetingReminder
{
public:
CreateEndOfMeetingReminder();
CreateEndOfMeetingReminder(Aws::Utils::Json::JsonView jsonValue);
CreateEndOfMeetingReminder& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline const Aws::Vector<int>& GetReminderAtMinutes() const{ return m_reminderAtMinutes; }
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline bool ReminderAtMinutesHasBeenSet() const { return m_reminderAtMinutesHasBeenSet; }
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline void SetReminderAtMinutes(const Aws::Vector<int>& value) { m_reminderAtMinutesHasBeenSet = true; m_reminderAtMinutes = value; }
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline void SetReminderAtMinutes(Aws::Vector<int>&& value) { m_reminderAtMinutesHasBeenSet = true; m_reminderAtMinutes = std::move(value); }
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline CreateEndOfMeetingReminder& WithReminderAtMinutes(const Aws::Vector<int>& value) { SetReminderAtMinutes(value); return *this;}
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline CreateEndOfMeetingReminder& WithReminderAtMinutes(Aws::Vector<int>&& value) { SetReminderAtMinutes(std::move(value)); return *this;}
/**
* <p> A range of 3 to 15 minutes that determines when the reminder begins.</p>
*/
inline CreateEndOfMeetingReminder& AddReminderAtMinutes(int value) { m_reminderAtMinutesHasBeenSet = true; m_reminderAtMinutes.push_back(value); return *this; }
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline const EndOfMeetingReminderType& GetReminderType() const{ return m_reminderType; }
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline bool ReminderTypeHasBeenSet() const { return m_reminderTypeHasBeenSet; }
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline void SetReminderType(const EndOfMeetingReminderType& value) { m_reminderTypeHasBeenSet = true; m_reminderType = value; }
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline void SetReminderType(EndOfMeetingReminderType&& value) { m_reminderTypeHasBeenSet = true; m_reminderType = std::move(value); }
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline CreateEndOfMeetingReminder& WithReminderType(const EndOfMeetingReminderType& value) { SetReminderType(value); return *this;}
/**
* <p>The type of sound that users hear during the end of meeting reminder. </p>
*/
inline CreateEndOfMeetingReminder& WithReminderType(EndOfMeetingReminderType&& value) { SetReminderType(std::move(value)); return *this;}
/**
* <p>Whether an end of meeting reminder is enabled or not.</p>
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* <p>Whether an end of meeting reminder is enabled or not.</p>
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* <p>Whether an end of meeting reminder is enabled or not.</p>
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* <p>Whether an end of meeting reminder is enabled or not.</p>
*/
inline CreateEndOfMeetingReminder& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
Aws::Vector<int> m_reminderAtMinutes;
bool m_reminderAtMinutesHasBeenSet;
EndOfMeetingReminderType m_reminderType;
bool m_reminderTypeHasBeenSet;
bool m_enabled;
bool m_enabledHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,182 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateGatewayGroupRequest : public AlexaForBusinessRequest
{
public:
CreateGatewayGroupRequest();
// 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 "CreateGatewayGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the gateway group.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the gateway group.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the gateway group.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the gateway group.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the gateway group.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The description of the gateway group.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the gateway group.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the gateway group.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the gateway group.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the gateway group.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the gateway group.</p>
*/
inline CreateGatewayGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateGatewayGroupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateGatewayGroupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p> A unique, user-specified identifier for the request that ensures
* idempotency.</p>
*/
inline CreateGatewayGroupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateGatewayGroupResult
{
public:
CreateGatewayGroupResult();
CreateGatewayGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateGatewayGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the created gateway group.</p>
*/
inline const Aws::String& GetGatewayGroupArn() const{ return m_gatewayGroupArn; }
/**
* <p>The ARN of the created gateway group.</p>
*/
inline void SetGatewayGroupArn(const Aws::String& value) { m_gatewayGroupArn = value; }
/**
* <p>The ARN of the created gateway group.</p>
*/
inline void SetGatewayGroupArn(Aws::String&& value) { m_gatewayGroupArn = std::move(value); }
/**
* <p>The ARN of the created gateway group.</p>
*/
inline void SetGatewayGroupArn(const char* value) { m_gatewayGroupArn.assign(value); }
/**
* <p>The ARN of the created gateway group.</p>
*/
inline CreateGatewayGroupResult& WithGatewayGroupArn(const Aws::String& value) { SetGatewayGroupArn(value); return *this;}
/**
* <p>The ARN of the created gateway group.</p>
*/
inline CreateGatewayGroupResult& WithGatewayGroupArn(Aws::String&& value) { SetGatewayGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the created gateway group.</p>
*/
inline CreateGatewayGroupResult& WithGatewayGroupArn(const char* value) { SetGatewayGroupArn(value); return *this;}
private:
Aws::String m_gatewayGroupArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Creates settings for the instant booking feature that are applied to a room
* profile. When users start their meeting with Alexa, Alexa automatically books
* the room for the configured duration if the room is available.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateInstantBooking">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API CreateInstantBooking
{
public:
CreateInstantBooking();
CreateInstantBooking(Aws::Utils::Json::JsonView jsonValue);
CreateInstantBooking& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Duration between 15 and 240 minutes at increments of 15 that determines how
* long to book an available room when a meeting is started with Alexa.</p>
*/
inline int GetDurationInMinutes() const{ return m_durationInMinutes; }
/**
* <p>Duration between 15 and 240 minutes at increments of 15 that determines how
* long to book an available room when a meeting is started with Alexa.</p>
*/
inline bool DurationInMinutesHasBeenSet() const { return m_durationInMinutesHasBeenSet; }
/**
* <p>Duration between 15 and 240 minutes at increments of 15 that determines how
* long to book an available room when a meeting is started with Alexa.</p>
*/
inline void SetDurationInMinutes(int value) { m_durationInMinutesHasBeenSet = true; m_durationInMinutes = value; }
/**
* <p>Duration between 15 and 240 minutes at increments of 15 that determines how
* long to book an available room when a meeting is started with Alexa.</p>
*/
inline CreateInstantBooking& WithDurationInMinutes(int value) { SetDurationInMinutes(value); return *this;}
/**
* <p>Whether instant booking is enabled or not.</p>
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* <p>Whether instant booking is enabled or not.</p>
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* <p>Whether instant booking is enabled or not.</p>
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* <p>Whether instant booking is enabled or not.</p>
*/
inline CreateInstantBooking& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
int m_durationInMinutes;
bool m_durationInMinutesHasBeenSet;
bool m_enabled;
bool m_enabledHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/model/CreateEndOfMeetingReminder.h>
#include <aws/alexaforbusiness/model/CreateInstantBooking.h>
#include <aws/alexaforbusiness/model/CreateRequireCheckIn.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Creates meeting room settings of a room profile.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateMeetingRoomConfiguration">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API CreateMeetingRoomConfiguration
{
public:
CreateMeetingRoomConfiguration();
CreateMeetingRoomConfiguration(Aws::Utils::Json::JsonView jsonValue);
CreateMeetingRoomConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Whether room utilization metrics are enabled or not.</p>
*/
inline bool GetRoomUtilizationMetricsEnabled() const{ return m_roomUtilizationMetricsEnabled; }
/**
* <p>Whether room utilization metrics are enabled or not.</p>
*/
inline bool RoomUtilizationMetricsEnabledHasBeenSet() const { return m_roomUtilizationMetricsEnabledHasBeenSet; }
/**
* <p>Whether room utilization metrics are enabled or not.</p>
*/
inline void SetRoomUtilizationMetricsEnabled(bool value) { m_roomUtilizationMetricsEnabledHasBeenSet = true; m_roomUtilizationMetricsEnabled = value; }
/**
* <p>Whether room utilization metrics are enabled or not.</p>
*/
inline CreateMeetingRoomConfiguration& WithRoomUtilizationMetricsEnabled(bool value) { SetRoomUtilizationMetricsEnabled(value); return *this;}
inline const CreateEndOfMeetingReminder& GetEndOfMeetingReminder() const{ return m_endOfMeetingReminder; }
inline bool EndOfMeetingReminderHasBeenSet() const { return m_endOfMeetingReminderHasBeenSet; }
inline void SetEndOfMeetingReminder(const CreateEndOfMeetingReminder& value) { m_endOfMeetingReminderHasBeenSet = true; m_endOfMeetingReminder = value; }
inline void SetEndOfMeetingReminder(CreateEndOfMeetingReminder&& value) { m_endOfMeetingReminderHasBeenSet = true; m_endOfMeetingReminder = std::move(value); }
inline CreateMeetingRoomConfiguration& WithEndOfMeetingReminder(const CreateEndOfMeetingReminder& value) { SetEndOfMeetingReminder(value); return *this;}
inline CreateMeetingRoomConfiguration& WithEndOfMeetingReminder(CreateEndOfMeetingReminder&& value) { SetEndOfMeetingReminder(std::move(value)); return *this;}
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline const CreateInstantBooking& GetInstantBooking() const{ return m_instantBooking; }
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline bool InstantBookingHasBeenSet() const { return m_instantBookingHasBeenSet; }
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline void SetInstantBooking(const CreateInstantBooking& value) { m_instantBookingHasBeenSet = true; m_instantBooking = value; }
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline void SetInstantBooking(CreateInstantBooking&& value) { m_instantBookingHasBeenSet = true; m_instantBooking = std::move(value); }
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline CreateMeetingRoomConfiguration& WithInstantBooking(const CreateInstantBooking& value) { SetInstantBooking(value); return *this;}
/**
* <p>Settings to automatically book a room for a configured duration if it's free
* when joining a meeting with Alexa.</p>
*/
inline CreateMeetingRoomConfiguration& WithInstantBooking(CreateInstantBooking&& value) { SetInstantBooking(std::move(value)); return *this;}
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline const CreateRequireCheckIn& GetRequireCheckIn() const{ return m_requireCheckIn; }
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline bool RequireCheckInHasBeenSet() const { return m_requireCheckInHasBeenSet; }
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline void SetRequireCheckIn(const CreateRequireCheckIn& value) { m_requireCheckInHasBeenSet = true; m_requireCheckIn = value; }
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline void SetRequireCheckIn(CreateRequireCheckIn&& value) { m_requireCheckInHasBeenSet = true; m_requireCheckIn = std::move(value); }
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline CreateMeetingRoomConfiguration& WithRequireCheckIn(const CreateRequireCheckIn& value) { SetRequireCheckIn(value); return *this;}
/**
* <p>Settings for requiring a check in when a room is reserved. Alexa can cancel a
* room reservation if it's not checked into to make the room available for others.
* Users can check in by joining the meeting with Alexa or an AVS device, or by
* saying “Alexa, check in.”</p>
*/
inline CreateMeetingRoomConfiguration& WithRequireCheckIn(CreateRequireCheckIn&& value) { SetRequireCheckIn(std::move(value)); return *this;}
private:
bool m_roomUtilizationMetricsEnabled;
bool m_roomUtilizationMetricsEnabledHasBeenSet;
CreateEndOfMeetingReminder m_endOfMeetingReminder;
bool m_endOfMeetingReminderHasBeenSet;
CreateInstantBooking m_instantBooking;
bool m_instantBookingHasBeenSet;
CreateRequireCheckIn m_requireCheckIn;
bool m_requireCheckInHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,508 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/NetworkSecurityType.h>
#include <aws/alexaforbusiness/model/NetworkEapMethod.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateNetworkProfileRequest : public AlexaForBusinessRequest
{
public:
CreateNetworkProfileRequest();
// 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 "CreateNetworkProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileName() const{ return m_networkProfileName; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline bool NetworkProfileNameHasBeenSet() const { return m_networkProfileNameHasBeenSet; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(const Aws::String& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = value; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(Aws::String&& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = std::move(value); }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(const char* value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName.assign(value); }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileRequest& WithNetworkProfileName(const Aws::String& value) { SetNetworkProfileName(value); return *this;}
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileRequest& WithNetworkProfileName(Aws::String&& value) { SetNetworkProfileName(std::move(value)); return *this;}
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileRequest& WithNetworkProfileName(const char* value) { SetNetworkProfileName(value); return *this;}
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline CreateNetworkProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline CreateNetworkProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline CreateNetworkProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline const Aws::String& GetSsid() const{ return m_ssid; }
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline bool SsidHasBeenSet() const { return m_ssidHasBeenSet; }
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline void SetSsid(const Aws::String& value) { m_ssidHasBeenSet = true; m_ssid = value; }
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline void SetSsid(Aws::String&& value) { m_ssidHasBeenSet = true; m_ssid = std::move(value); }
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline void SetSsid(const char* value) { m_ssidHasBeenSet = true; m_ssid.assign(value); }
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithSsid(const Aws::String& value) { SetSsid(value); return *this;}
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithSsid(Aws::String&& value) { SetSsid(std::move(value)); return *this;}
/**
* <p>The SSID of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithSsid(const char* value) { SetSsid(value); return *this;}
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline const NetworkSecurityType& GetSecurityType() const{ return m_securityType; }
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline bool SecurityTypeHasBeenSet() const { return m_securityTypeHasBeenSet; }
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline void SetSecurityType(const NetworkSecurityType& value) { m_securityTypeHasBeenSet = true; m_securityType = value; }
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline void SetSecurityType(NetworkSecurityType&& value) { m_securityTypeHasBeenSet = true; m_securityType = std::move(value); }
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline CreateNetworkProfileRequest& WithSecurityType(const NetworkSecurityType& value) { SetSecurityType(value); return *this;}
/**
* <p>The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE,
* WPA2_PSK, WPA_PSK, WEP, or OPEN.</p>
*/
inline CreateNetworkProfileRequest& WithSecurityType(NetworkSecurityType&& value) { SetSecurityType(std::move(value)); return *this;}
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline const NetworkEapMethod& GetEapMethod() const{ return m_eapMethod; }
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline bool EapMethodHasBeenSet() const { return m_eapMethodHasBeenSet; }
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline void SetEapMethod(const NetworkEapMethod& value) { m_eapMethodHasBeenSet = true; m_eapMethod = value; }
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline void SetEapMethod(NetworkEapMethod&& value) { m_eapMethodHasBeenSet = true; m_eapMethod = std::move(value); }
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline CreateNetworkProfileRequest& WithEapMethod(const NetworkEapMethod& value) { SetEapMethod(value); return *this;}
/**
* <p>The authentication standard that is used in the EAP framework. Currently,
* EAP_TLS is supported.</p>
*/
inline CreateNetworkProfileRequest& WithEapMethod(NetworkEapMethod&& value) { SetEapMethod(std::move(value)); return *this;}
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline const Aws::String& GetCurrentPassword() const{ return m_currentPassword; }
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline bool CurrentPasswordHasBeenSet() const { return m_currentPasswordHasBeenSet; }
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline void SetCurrentPassword(const Aws::String& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = value; }
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline void SetCurrentPassword(Aws::String&& value) { m_currentPasswordHasBeenSet = true; m_currentPassword = std::move(value); }
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline void SetCurrentPassword(const char* value) { m_currentPasswordHasBeenSet = true; m_currentPassword.assign(value); }
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithCurrentPassword(const Aws::String& value) { SetCurrentPassword(value); return *this;}
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithCurrentPassword(Aws::String&& value) { SetCurrentPassword(std::move(value)); return *this;}
/**
* <p>The current password of the Wi-Fi network.</p>
*/
inline CreateNetworkProfileRequest& WithCurrentPassword(const char* value) { SetCurrentPassword(value); return *this;}
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline const Aws::String& GetNextPassword() const{ return m_nextPassword; }
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline bool NextPasswordHasBeenSet() const { return m_nextPasswordHasBeenSet; }
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline void SetNextPassword(const Aws::String& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = value; }
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline void SetNextPassword(Aws::String&& value) { m_nextPasswordHasBeenSet = true; m_nextPassword = std::move(value); }
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline void SetNextPassword(const char* value) { m_nextPasswordHasBeenSet = true; m_nextPassword.assign(value); }
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline CreateNetworkProfileRequest& WithNextPassword(const Aws::String& value) { SetNextPassword(value); return *this;}
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline CreateNetworkProfileRequest& WithNextPassword(Aws::String&& value) { SetNextPassword(std::move(value)); return *this;}
/**
* <p>The next, or subsequent, password of the Wi-Fi network. This password is
* asynchronously transmitted to the device and is used when the password of the
* network changes to NextPassword. </p>
*/
inline CreateNetworkProfileRequest& WithNextPassword(const char* value) { SetNextPassword(value); return *this;}
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline CreateNetworkProfileRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;}
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline CreateNetworkProfileRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;}
/**
* <p>The ARN of the Private Certificate Authority (PCA) created in AWS Certificate
* Manager (ACM). This is used to issue certificates to the devices. </p>
*/
inline CreateNetworkProfileRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline const Aws::Vector<Aws::String>& GetTrustAnchors() const{ return m_trustAnchors; }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline bool TrustAnchorsHasBeenSet() const { return m_trustAnchorsHasBeenSet; }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline void SetTrustAnchors(const Aws::Vector<Aws::String>& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = value; }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline void SetTrustAnchors(Aws::Vector<Aws::String>&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors = std::move(value); }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline CreateNetworkProfileRequest& WithTrustAnchors(const Aws::Vector<Aws::String>& value) { SetTrustAnchors(value); return *this;}
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline CreateNetworkProfileRequest& WithTrustAnchors(Aws::Vector<Aws::String>&& value) { SetTrustAnchors(std::move(value)); return *this;}
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline CreateNetworkProfileRequest& AddTrustAnchors(const Aws::String& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline CreateNetworkProfileRequest& AddTrustAnchors(Aws::String&& value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(std::move(value)); return *this; }
/**
* <p>The root certificates of your authentication server that is installed on your
* devices and used to trust your authentication server during EAP negotiation.
* </p>
*/
inline CreateNetworkProfileRequest& AddTrustAnchors(const char* value) { m_trustAnchorsHasBeenSet = true; m_trustAnchors.push_back(value); return *this; }
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
inline CreateNetworkProfileRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
inline CreateNetworkProfileRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
inline CreateNetworkProfileRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
private:
Aws::String m_networkProfileName;
bool m_networkProfileNameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_ssid;
bool m_ssidHasBeenSet;
NetworkSecurityType m_securityType;
bool m_securityTypeHasBeenSet;
NetworkEapMethod m_eapMethod;
bool m_eapMethodHasBeenSet;
Aws::String m_currentPassword;
bool m_currentPasswordHasBeenSet;
Aws::String m_nextPassword;
bool m_nextPasswordHasBeenSet;
Aws::String m_certificateAuthorityArn;
bool m_certificateAuthorityArnHasBeenSet;
Aws::Vector<Aws::String> m_trustAnchors;
bool m_trustAnchorsHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateNetworkProfileResult
{
public:
CreateNetworkProfileResult();
CreateNetworkProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateNetworkProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArn = value; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArn = std::move(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const char* value) { m_networkProfileArn.assign(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileResult& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileResult& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline CreateNetworkProfileResult& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
private:
Aws::String m_networkProfileArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,528 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/DistanceUnit.h>
#include <aws/alexaforbusiness/model/TemperatureUnit.h>
#include <aws/alexaforbusiness/model/WakeWord.h>
#include <aws/alexaforbusiness/model/CreateMeetingRoomConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateProfileRequest : public AlexaForBusinessRequest
{
public:
CreateProfileRequest();
// 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 "CreateProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of a room profile.</p>
*/
inline const Aws::String& GetProfileName() const{ return m_profileName; }
/**
* <p>The name of a room profile.</p>
*/
inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
/**
* <p>The name of a room profile.</p>
*/
inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
/**
* <p>The name of a room profile.</p>
*/
inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
/**
* <p>The name of a room profile.</p>
*/
inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
/**
* <p>The name of a room profile.</p>
*/
inline CreateProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
/**
* <p>The name of a room profile.</p>
*/
inline CreateProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
/**
* <p>The name of a room profile.</p>
*/
inline CreateProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
/**
* <p>The time zone used by a room profile.</p>
*/
inline const Aws::String& GetTimezone() const{ return m_timezone; }
/**
* <p>The time zone used by a room profile.</p>
*/
inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
/**
* <p>The time zone used by a room profile.</p>
*/
inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
/**
* <p>The time zone used by a room profile.</p>
*/
inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
/**
* <p>The time zone used by a room profile.</p>
*/
inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
/**
* <p>The time zone used by a room profile.</p>
*/
inline CreateProfileRequest& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
/**
* <p>The time zone used by a room profile.</p>
*/
inline CreateProfileRequest& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
/**
* <p>The time zone used by a room profile.</p>
*/
inline CreateProfileRequest& WithTimezone(const char* value) { SetTimezone(value); return *this;}
/**
* <p>The valid address for the room.</p>
*/
inline const Aws::String& GetAddress() const{ return m_address; }
/**
* <p>The valid address for the room.</p>
*/
inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
/**
* <p>The valid address for the room.</p>
*/
inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
/**
* <p>The valid address for the room.</p>
*/
inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
/**
* <p>The valid address for the room.</p>
*/
inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
/**
* <p>The valid address for the room.</p>
*/
inline CreateProfileRequest& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
/**
* <p>The valid address for the room.</p>
*/
inline CreateProfileRequest& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
/**
* <p>The valid address for the room.</p>
*/
inline CreateProfileRequest& WithAddress(const char* value) { SetAddress(value); return *this;}
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline CreateProfileRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
/**
* <p>The distance unit to be used by devices in the profile.</p>
*/
inline CreateProfileRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline const TemperatureUnit& GetTemperatureUnit() const{ return m_temperatureUnit; }
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline bool TemperatureUnitHasBeenSet() const { return m_temperatureUnitHasBeenSet; }
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline void SetTemperatureUnit(const TemperatureUnit& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = value; }
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline void SetTemperatureUnit(TemperatureUnit&& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = std::move(value); }
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline CreateProfileRequest& WithTemperatureUnit(const TemperatureUnit& value) { SetTemperatureUnit(value); return *this;}
/**
* <p>The temperature unit to be used by devices in the profile.</p>
*/
inline CreateProfileRequest& WithTemperatureUnit(TemperatureUnit&& value) { SetTemperatureUnit(std::move(value)); return *this;}
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline const WakeWord& GetWakeWord() const{ return m_wakeWord; }
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline bool WakeWordHasBeenSet() const { return m_wakeWordHasBeenSet; }
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline void SetWakeWord(const WakeWord& value) { m_wakeWordHasBeenSet = true; m_wakeWord = value; }
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline void SetWakeWord(WakeWord&& value) { m_wakeWordHasBeenSet = true; m_wakeWord = std::move(value); }
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline CreateProfileRequest& WithWakeWord(const WakeWord& value) { SetWakeWord(value); return *this;}
/**
* <p>A wake word for Alexa, Echo, Amazon, or a computer.</p>
*/
inline CreateProfileRequest& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline const Aws::String& GetLocale() const{ return m_locale; }
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline CreateProfileRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline CreateProfileRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
/**
* <p>The locale of the room profile. (This is currently only available to a
* limited preview audience.)</p>
*/
inline CreateProfileRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline CreateProfileRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline CreateProfileRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>The user-specified token that is used during the creation of a profile.</p>
*/
inline CreateProfileRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>Whether room profile setup is enabled.</p>
*/
inline bool GetSetupModeDisabled() const{ return m_setupModeDisabled; }
/**
* <p>Whether room profile setup is enabled.</p>
*/
inline bool SetupModeDisabledHasBeenSet() const { return m_setupModeDisabledHasBeenSet; }
/**
* <p>Whether room profile setup is enabled.</p>
*/
inline void SetSetupModeDisabled(bool value) { m_setupModeDisabledHasBeenSet = true; m_setupModeDisabled = value; }
/**
* <p>Whether room profile setup is enabled.</p>
*/
inline CreateProfileRequest& WithSetupModeDisabled(bool value) { SetSetupModeDisabled(value); return *this;}
/**
* <p>The maximum volume limit for a room profile.</p>
*/
inline int GetMaxVolumeLimit() const{ return m_maxVolumeLimit; }
/**
* <p>The maximum volume limit for a room profile.</p>
*/
inline bool MaxVolumeLimitHasBeenSet() const { return m_maxVolumeLimitHasBeenSet; }
/**
* <p>The maximum volume limit for a room profile.</p>
*/
inline void SetMaxVolumeLimit(int value) { m_maxVolumeLimitHasBeenSet = true; m_maxVolumeLimit = value; }
/**
* <p>The maximum volume limit for a room profile.</p>
*/
inline CreateProfileRequest& WithMaxVolumeLimit(int value) { SetMaxVolumeLimit(value); return *this;}
/**
* <p>Whether PSTN calling is enabled.</p>
*/
inline bool GetPSTNEnabled() const{ return m_pSTNEnabled; }
/**
* <p>Whether PSTN calling is enabled.</p>
*/
inline bool PSTNEnabledHasBeenSet() const { return m_pSTNEnabledHasBeenSet; }
/**
* <p>Whether PSTN calling is enabled.</p>
*/
inline void SetPSTNEnabled(bool value) { m_pSTNEnabledHasBeenSet = true; m_pSTNEnabled = value; }
/**
* <p>Whether PSTN calling is enabled.</p>
*/
inline CreateProfileRequest& WithPSTNEnabled(bool value) { SetPSTNEnabled(value); return *this;}
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline const CreateMeetingRoomConfiguration& GetMeetingRoomConfiguration() const{ return m_meetingRoomConfiguration; }
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline bool MeetingRoomConfigurationHasBeenSet() const { return m_meetingRoomConfigurationHasBeenSet; }
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline void SetMeetingRoomConfiguration(const CreateMeetingRoomConfiguration& value) { m_meetingRoomConfigurationHasBeenSet = true; m_meetingRoomConfiguration = value; }
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline void SetMeetingRoomConfiguration(CreateMeetingRoomConfiguration&& value) { m_meetingRoomConfigurationHasBeenSet = true; m_meetingRoomConfiguration = std::move(value); }
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline CreateProfileRequest& WithMeetingRoomConfiguration(const CreateMeetingRoomConfiguration& value) { SetMeetingRoomConfiguration(value); return *this;}
/**
* <p>The meeting room settings of a room profile.</p>
*/
inline CreateProfileRequest& WithMeetingRoomConfiguration(CreateMeetingRoomConfiguration&& value) { SetMeetingRoomConfiguration(std::move(value)); return *this;}
/**
* <p>The tags for the profile.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the profile.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tags for the profile.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tags for the profile.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tags for the profile.</p>
*/
inline CreateProfileRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the profile.</p>
*/
inline CreateProfileRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the profile.</p>
*/
inline CreateProfileRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tags for the profile.</p>
*/
inline CreateProfileRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_profileName;
bool m_profileNameHasBeenSet;
Aws::String m_timezone;
bool m_timezoneHasBeenSet;
Aws::String m_address;
bool m_addressHasBeenSet;
DistanceUnit m_distanceUnit;
bool m_distanceUnitHasBeenSet;
TemperatureUnit m_temperatureUnit;
bool m_temperatureUnitHasBeenSet;
WakeWord m_wakeWord;
bool m_wakeWordHasBeenSet;
Aws::String m_locale;
bool m_localeHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
bool m_setupModeDisabled;
bool m_setupModeDisabledHasBeenSet;
int m_maxVolumeLimit;
bool m_maxVolumeLimitHasBeenSet;
bool m_pSTNEnabled;
bool m_pSTNEnabledHasBeenSet;
CreateMeetingRoomConfiguration m_meetingRoomConfiguration;
bool m_meetingRoomConfigurationHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateProfileResult
{
public:
CreateProfileResult();
CreateProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline void SetProfileArn(const Aws::String& value) { m_profileArn = value; }
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline void SetProfileArn(Aws::String&& value) { m_profileArn = std::move(value); }
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline void SetProfileArn(const char* value) { m_profileArn.assign(value); }
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline CreateProfileResult& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline CreateProfileResult& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created room profile in the response.</p>
*/
inline CreateProfileResult& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
private:
Aws::String m_profileArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Creates settings for the require check in feature that are applied to a room
* profile. Require check in allows a meeting rooms Alexa or AVS device to prompt
* the user to check in; otherwise, the room will be released.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRequireCheckIn">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API CreateRequireCheckIn
{
public:
CreateRequireCheckIn();
CreateRequireCheckIn(Aws::Utils::Json::JsonView jsonValue);
CreateRequireCheckIn& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Duration between 5 and 20 minutes to determine when to release the room if
* it's not checked into.</p>
*/
inline int GetReleaseAfterMinutes() const{ return m_releaseAfterMinutes; }
/**
* <p>Duration between 5 and 20 minutes to determine when to release the room if
* it's not checked into.</p>
*/
inline bool ReleaseAfterMinutesHasBeenSet() const { return m_releaseAfterMinutesHasBeenSet; }
/**
* <p>Duration between 5 and 20 minutes to determine when to release the room if
* it's not checked into.</p>
*/
inline void SetReleaseAfterMinutes(int value) { m_releaseAfterMinutesHasBeenSet = true; m_releaseAfterMinutes = value; }
/**
* <p>Duration between 5 and 20 minutes to determine when to release the room if
* it's not checked into.</p>
*/
inline CreateRequireCheckIn& WithReleaseAfterMinutes(int value) { SetReleaseAfterMinutes(value); return *this;}
/**
* <p>Whether require check in is enabled or not.</p>
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* <p>Whether require check in is enabled or not.</p>
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* <p>Whether require check in is enabled or not.</p>
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* <p>Whether require check in is enabled or not.</p>
*/
inline CreateRequireCheckIn& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
int m_releaseAfterMinutes;
bool m_releaseAfterMinutesHasBeenSet;
bool m_enabled;
bool m_enabledHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,316 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateRoomRequest : public AlexaForBusinessRequest
{
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;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name for the room.</p>
*/
inline const Aws::String& GetRoomName() const{ return m_roomName; }
/**
* <p>The name for the room.</p>
*/
inline bool RoomNameHasBeenSet() const { return m_roomNameHasBeenSet; }
/**
* <p>The name for the room.</p>
*/
inline void SetRoomName(const Aws::String& value) { m_roomNameHasBeenSet = true; m_roomName = value; }
/**
* <p>The name for the room.</p>
*/
inline void SetRoomName(Aws::String&& value) { m_roomNameHasBeenSet = true; m_roomName = std::move(value); }
/**
* <p>The name for the room.</p>
*/
inline void SetRoomName(const char* value) { m_roomNameHasBeenSet = true; m_roomName.assign(value); }
/**
* <p>The name for the room.</p>
*/
inline CreateRoomRequest& WithRoomName(const Aws::String& value) { SetRoomName(value); return *this;}
/**
* <p>The name for the room.</p>
*/
inline CreateRoomRequest& WithRoomName(Aws::String&& value) { SetRoomName(std::move(value)); return *this;}
/**
* <p>The name for the room.</p>
*/
inline CreateRoomRequest& WithRoomName(const char* value) { SetRoomName(value); return *this;}
/**
* <p>The description for the room.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description for the room.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description for the room.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description for the room.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description for the room.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description for the room.</p>
*/
inline CreateRoomRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description for the room.</p>
*/
inline CreateRoomRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description for the room.</p>
*/
inline CreateRoomRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline CreateRoomRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline CreateRoomRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
/**
* <p>The profile ARN for the room. This is required.</p>
*/
inline CreateRoomRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
/**
* <p>The calendar ARN for the room.</p>
*/
inline const Aws::String& GetProviderCalendarId() const{ return m_providerCalendarId; }
/**
* <p>The calendar ARN for the room.</p>
*/
inline bool ProviderCalendarIdHasBeenSet() const { return m_providerCalendarIdHasBeenSet; }
/**
* <p>The calendar ARN for the room.</p>
*/
inline void SetProviderCalendarId(const Aws::String& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = value; }
/**
* <p>The calendar ARN for the room.</p>
*/
inline void SetProviderCalendarId(Aws::String&& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = std::move(value); }
/**
* <p>The calendar ARN for the room.</p>
*/
inline void SetProviderCalendarId(const char* value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId.assign(value); }
/**
* <p>The calendar ARN for the room.</p>
*/
inline CreateRoomRequest& WithProviderCalendarId(const Aws::String& value) { SetProviderCalendarId(value); return *this;}
/**
* <p>The calendar ARN for the room.</p>
*/
inline CreateRoomRequest& WithProviderCalendarId(Aws::String&& value) { SetProviderCalendarId(std::move(value)); return *this;}
/**
* <p>The calendar ARN for the room.</p>
*/
inline CreateRoomRequest& WithProviderCalendarId(const char* value) { SetProviderCalendarId(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateRoomRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateRoomRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateRoomRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The tags for the room.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the room.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tags for the room.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tags for the room.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tags for the room.</p>
*/
inline CreateRoomRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the room.</p>
*/
inline CreateRoomRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the room.</p>
*/
inline CreateRoomRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tags for the room.</p>
*/
inline CreateRoomRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_roomName;
bool m_roomNameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_profileArn;
bool m_profileArnHasBeenSet;
Aws::String m_providerCalendarId;
bool m_providerCalendarIdHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_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 ARN of the newly created room in the response.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArn = value; }
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArn = std::move(value); }
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArn.assign(value); }
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline CreateRoomResult& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline CreateRoomResult& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created room in the response.</p>
*/
inline CreateRoomResult& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
private:
Aws::String m_roomArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,228 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateSkillGroupRequest : public AlexaForBusinessRequest
{
public:
CreateSkillGroupRequest();
// 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 "CreateSkillGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name for the skill group.</p>
*/
inline const Aws::String& GetSkillGroupName() const{ return m_skillGroupName; }
/**
* <p>The name for the skill group.</p>
*/
inline bool SkillGroupNameHasBeenSet() const { return m_skillGroupNameHasBeenSet; }
/**
* <p>The name for the skill group.</p>
*/
inline void SetSkillGroupName(const Aws::String& value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName = value; }
/**
* <p>The name for the skill group.</p>
*/
inline void SetSkillGroupName(Aws::String&& value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName = std::move(value); }
/**
* <p>The name for the skill group.</p>
*/
inline void SetSkillGroupName(const char* value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName.assign(value); }
/**
* <p>The name for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithSkillGroupName(const Aws::String& value) { SetSkillGroupName(value); return *this;}
/**
* <p>The name for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithSkillGroupName(Aws::String&& value) { SetSkillGroupName(std::move(value)); return *this;}
/**
* <p>The name for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithSkillGroupName(const char* value) { SetSkillGroupName(value); return *this;}
/**
* <p>The description for the skill group.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description for the skill group.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description for the skill group.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description for the skill group.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description for the skill group.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateSkillGroupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateSkillGroupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateSkillGroupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The tags for the skill group.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the skill group.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tags for the skill group.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tags for the skill group.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tags for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the skill group.</p>
*/
inline CreateSkillGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the skill group.</p>
*/
inline CreateSkillGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tags for the skill group.</p>
*/
inline CreateSkillGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_skillGroupName;
bool m_skillGroupNameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateSkillGroupResult
{
public:
CreateSkillGroupResult();
CreateSkillGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSkillGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline const Aws::String& GetSkillGroupArn() const{ return m_skillGroupArn; }
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline void SetSkillGroupArn(const Aws::String& value) { m_skillGroupArn = value; }
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline void SetSkillGroupArn(Aws::String&& value) { m_skillGroupArn = std::move(value); }
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline void SetSkillGroupArn(const char* value) { m_skillGroupArn.assign(value); }
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline CreateSkillGroupResult& WithSkillGroupArn(const Aws::String& value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline CreateSkillGroupResult& WithSkillGroupArn(Aws::String&& value) { SetSkillGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created skill group in the response.</p>
*/
inline CreateSkillGroupResult& WithSkillGroupArn(const char* value) { SetSkillGroupArn(value); return *this;}
private:
Aws::String m_skillGroupArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,316 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/alexaforbusiness/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API CreateUserRequest : public AlexaForBusinessRequest
{
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;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN for the user.</p>
*/
inline const Aws::String& GetUserId() const{ return m_userId; }
/**
* <p>The ARN for the user.</p>
*/
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
/**
* <p>The ARN for the user.</p>
*/
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
/**
* <p>The ARN for the user.</p>
*/
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
/**
* <p>The ARN for the user.</p>
*/
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
/**
* <p>The ARN for the user.</p>
*/
inline CreateUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
/**
* <p>The ARN for the user.</p>
*/
inline CreateUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
/**
* <p>The ARN for the user.</p>
*/
inline CreateUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
/**
* <p>The first name for the user.</p>
*/
inline const Aws::String& GetFirstName() const{ return m_firstName; }
/**
* <p>The first name for the user.</p>
*/
inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
/**
* <p>The first name for the user.</p>
*/
inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
/**
* <p>The first name for the user.</p>
*/
inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
/**
* <p>The first name for the user.</p>
*/
inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
/**
* <p>The first name for the user.</p>
*/
inline CreateUserRequest& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
/**
* <p>The first name for the user.</p>
*/
inline CreateUserRequest& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
/**
* <p>The first name for the user.</p>
*/
inline CreateUserRequest& WithFirstName(const char* value) { SetFirstName(value); return *this;}
/**
* <p>The last name for the user.</p>
*/
inline const Aws::String& GetLastName() const{ return m_lastName; }
/**
* <p>The last name for the user.</p>
*/
inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
/**
* <p>The last name for the user.</p>
*/
inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
/**
* <p>The last name for the user.</p>
*/
inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
/**
* <p>The last name for the user.</p>
*/
inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
/**
* <p>The last name for the user.</p>
*/
inline CreateUserRequest& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
/**
* <p>The last name for the user.</p>
*/
inline CreateUserRequest& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
/**
* <p>The last name for the user.</p>
*/
inline CreateUserRequest& WithLastName(const char* value) { SetLastName(value); return *this;}
/**
* <p>The email address for the user.</p>
*/
inline const Aws::String& GetEmail() const{ return m_email; }
/**
* <p>The email address for the user.</p>
*/
inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
/**
* <p>The email address for the user.</p>
*/
inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
/**
* <p>The email address for the user.</p>
*/
inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
/**
* <p>The email address for the user.</p>
*/
inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
/**
* <p>The email address for the user.</p>
*/
inline CreateUserRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
/**
* <p>The email address for the user.</p>
*/
inline CreateUserRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
/**
* <p>The email address for the user.</p>
*/
inline CreateUserRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateUserRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateUserRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
/**
* <p>A unique, user-specified identifier for this request that ensures
* idempotency. </p>
*/
inline CreateUserRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
/**
* <p>The tags for the user.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The tags for the user.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The tags for the user.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The tags for the user.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The tags for the user.</p>
*/
inline CreateUserRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The tags for the user.</p>
*/
inline CreateUserRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The tags for the user.</p>
*/
inline CreateUserRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The tags for the user.</p>
*/
inline CreateUserRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_userId;
bool m_userIdHasBeenSet;
Aws::String m_firstName;
bool m_firstNameHasBeenSet;
Aws::String m_lastName;
bool m_lastNameHasBeenSet;
Aws::String m_email;
bool m_emailHasBeenSet;
Aws::String m_clientRequestToken;
bool m_clientRequestTokenHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API CreateUserResult
{
public:
CreateUserResult();
CreateUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline const Aws::String& GetUserArn() const{ return m_userArn; }
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline void SetUserArn(const Aws::String& value) { m_userArn = value; }
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline void SetUserArn(Aws::String&& value) { m_userArn = std::move(value); }
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline void SetUserArn(const char* value) { m_userArn.assign(value); }
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline CreateUserResult& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline CreateUserResult& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
/**
* <p>The ARN of the newly created user in the response.</p>
*/
inline CreateUserResult& WithUserArn(const char* value) { SetUserArn(value); return *this;}
private:
Aws::String m_userArn;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteAddressBookRequest : public AlexaForBusinessRequest
{
public:
DeleteAddressBookRequest();
// 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 "DeleteAddressBook"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the address book to delete.</p>
*/
inline const Aws::String& GetAddressBookArn() const{ return m_addressBookArn; }
/**
* <p>The ARN of the address book to delete.</p>
*/
inline bool AddressBookArnHasBeenSet() const { return m_addressBookArnHasBeenSet; }
/**
* <p>The ARN of the address book to delete.</p>
*/
inline void SetAddressBookArn(const Aws::String& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = value; }
/**
* <p>The ARN of the address book to delete.</p>
*/
inline void SetAddressBookArn(Aws::String&& value) { m_addressBookArnHasBeenSet = true; m_addressBookArn = std::move(value); }
/**
* <p>The ARN of the address book to delete.</p>
*/
inline void SetAddressBookArn(const char* value) { m_addressBookArnHasBeenSet = true; m_addressBookArn.assign(value); }
/**
* <p>The ARN of the address book to delete.</p>
*/
inline DeleteAddressBookRequest& WithAddressBookArn(const Aws::String& value) { SetAddressBookArn(value); return *this;}
/**
* <p>The ARN of the address book to delete.</p>
*/
inline DeleteAddressBookRequest& WithAddressBookArn(Aws::String&& value) { SetAddressBookArn(std::move(value)); return *this;}
/**
* <p>The ARN of the address book to delete.</p>
*/
inline DeleteAddressBookRequest& WithAddressBookArn(const char* value) { SetAddressBookArn(value); return *this;}
private:
Aws::String m_addressBookArn;
bool m_addressBookArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteAddressBookResult
{
public:
DeleteAddressBookResult();
DeleteAddressBookResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteAddressBookResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteBusinessReportScheduleRequest : public AlexaForBusinessRequest
{
public:
DeleteBusinessReportScheduleRequest();
// 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 "DeleteBusinessReportSchedule"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the business report schedule.</p>
*/
inline const Aws::String& GetScheduleArn() const{ return m_scheduleArn; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline bool ScheduleArnHasBeenSet() const { return m_scheduleArnHasBeenSet; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const Aws::String& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = value; }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(Aws::String&& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = std::move(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline void SetScheduleArn(const char* value) { m_scheduleArnHasBeenSet = true; m_scheduleArn.assign(value); }
/**
* <p>The ARN of the business report schedule.</p>
*/
inline DeleteBusinessReportScheduleRequest& WithScheduleArn(const Aws::String& value) { SetScheduleArn(value); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline DeleteBusinessReportScheduleRequest& WithScheduleArn(Aws::String&& value) { SetScheduleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the business report schedule.</p>
*/
inline DeleteBusinessReportScheduleRequest& WithScheduleArn(const char* value) { SetScheduleArn(value); return *this;}
private:
Aws::String m_scheduleArn;
bool m_scheduleArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteBusinessReportScheduleResult
{
public:
DeleteBusinessReportScheduleResult();
DeleteBusinessReportScheduleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteBusinessReportScheduleResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteConferenceProviderRequest : public AlexaForBusinessRequest
{
public:
DeleteConferenceProviderRequest();
// 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 "DeleteConferenceProvider"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the conference provider.</p>
*/
inline const Aws::String& GetConferenceProviderArn() const{ return m_conferenceProviderArn; }
/**
* <p>The ARN of the conference provider.</p>
*/
inline bool ConferenceProviderArnHasBeenSet() const { return m_conferenceProviderArnHasBeenSet; }
/**
* <p>The ARN of the conference provider.</p>
*/
inline void SetConferenceProviderArn(const Aws::String& value) { m_conferenceProviderArnHasBeenSet = true; m_conferenceProviderArn = value; }
/**
* <p>The ARN of the conference provider.</p>
*/
inline void SetConferenceProviderArn(Aws::String&& value) { m_conferenceProviderArnHasBeenSet = true; m_conferenceProviderArn = std::move(value); }
/**
* <p>The ARN of the conference provider.</p>
*/
inline void SetConferenceProviderArn(const char* value) { m_conferenceProviderArnHasBeenSet = true; m_conferenceProviderArn.assign(value); }
/**
* <p>The ARN of the conference provider.</p>
*/
inline DeleteConferenceProviderRequest& WithConferenceProviderArn(const Aws::String& value) { SetConferenceProviderArn(value); return *this;}
/**
* <p>The ARN of the conference provider.</p>
*/
inline DeleteConferenceProviderRequest& WithConferenceProviderArn(Aws::String&& value) { SetConferenceProviderArn(std::move(value)); return *this;}
/**
* <p>The ARN of the conference provider.</p>
*/
inline DeleteConferenceProviderRequest& WithConferenceProviderArn(const char* value) { SetConferenceProviderArn(value); return *this;}
private:
Aws::String m_conferenceProviderArn;
bool m_conferenceProviderArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteConferenceProviderResult
{
public:
DeleteConferenceProviderResult();
DeleteConferenceProviderResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteConferenceProviderResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteContactRequest : public AlexaForBusinessRequest
{
public:
DeleteContactRequest();
// 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 "DeleteContact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the contact to delete.</p>
*/
inline const Aws::String& GetContactArn() const{ return m_contactArn; }
/**
* <p>The ARN of the contact to delete.</p>
*/
inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
/**
* <p>The ARN of the contact to delete.</p>
*/
inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
/**
* <p>The ARN of the contact to delete.</p>
*/
inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
/**
* <p>The ARN of the contact to delete.</p>
*/
inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
/**
* <p>The ARN of the contact to delete.</p>
*/
inline DeleteContactRequest& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
/**
* <p>The ARN of the contact to delete.</p>
*/
inline DeleteContactRequest& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
/**
* <p>The ARN of the contact to delete.</p>
*/
inline DeleteContactRequest& WithContactArn(const char* value) { SetContactArn(value); return *this;}
private:
Aws::String m_contactArn;
bool m_contactArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteContactResult
{
public:
DeleteContactResult();
DeleteContactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteContactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteDeviceRequest : public AlexaForBusinessRequest
{
public:
DeleteDeviceRequest();
// 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 "DeleteDevice"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline DeleteDeviceRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline DeleteDeviceRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The ARN of the device for which to request details.</p>
*/
inline DeleteDeviceRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteDeviceResult
{
public:
DeleteDeviceResult();
DeleteDeviceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteDeviceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,120 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/DeviceUsageType.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteDeviceUsageDataRequest : public AlexaForBusinessRequest
{
public:
DeleteDeviceUsageDataRequest();
// 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 "DeleteDeviceUsageData"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the device.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The ARN of the device.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The ARN of the device.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The ARN of the device.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The ARN of the device.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The ARN of the device.</p>
*/
inline DeleteDeviceUsageDataRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of the device.</p>
*/
inline DeleteDeviceUsageDataRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The ARN of the device.</p>
*/
inline DeleteDeviceUsageDataRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
/**
* <p>The type of usage data to delete.</p>
*/
inline const DeviceUsageType& GetDeviceUsageType() const{ return m_deviceUsageType; }
/**
* <p>The type of usage data to delete.</p>
*/
inline bool DeviceUsageTypeHasBeenSet() const { return m_deviceUsageTypeHasBeenSet; }
/**
* <p>The type of usage data to delete.</p>
*/
inline void SetDeviceUsageType(const DeviceUsageType& value) { m_deviceUsageTypeHasBeenSet = true; m_deviceUsageType = value; }
/**
* <p>The type of usage data to delete.</p>
*/
inline void SetDeviceUsageType(DeviceUsageType&& value) { m_deviceUsageTypeHasBeenSet = true; m_deviceUsageType = std::move(value); }
/**
* <p>The type of usage data to delete.</p>
*/
inline DeleteDeviceUsageDataRequest& WithDeviceUsageType(const DeviceUsageType& value) { SetDeviceUsageType(value); return *this;}
/**
* <p>The type of usage data to delete.</p>
*/
inline DeleteDeviceUsageDataRequest& WithDeviceUsageType(DeviceUsageType&& value) { SetDeviceUsageType(std::move(value)); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
DeviceUsageType m_deviceUsageType;
bool m_deviceUsageTypeHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteDeviceUsageDataResult
{
public:
DeleteDeviceUsageDataResult();
DeleteDeviceUsageDataResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteDeviceUsageDataResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteGatewayGroupRequest : public AlexaForBusinessRequest
{
public:
DeleteGatewayGroupRequest();
// 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 "DeleteGatewayGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline const Aws::String& GetGatewayGroupArn() const{ return m_gatewayGroupArn; }
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline bool GatewayGroupArnHasBeenSet() const { return m_gatewayGroupArnHasBeenSet; }
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline void SetGatewayGroupArn(const Aws::String& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = value; }
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline void SetGatewayGroupArn(Aws::String&& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = std::move(value); }
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline void SetGatewayGroupArn(const char* value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn.assign(value); }
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline DeleteGatewayGroupRequest& WithGatewayGroupArn(const Aws::String& value) { SetGatewayGroupArn(value); return *this;}
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline DeleteGatewayGroupRequest& WithGatewayGroupArn(Aws::String&& value) { SetGatewayGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the gateway group to delete.</p>
*/
inline DeleteGatewayGroupRequest& WithGatewayGroupArn(const char* value) { SetGatewayGroupArn(value); return *this;}
private:
Aws::String m_gatewayGroupArn;
bool m_gatewayGroupArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteGatewayGroupResult
{
public:
DeleteGatewayGroupResult();
DeleteGatewayGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteGatewayGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteNetworkProfileRequest : public AlexaForBusinessRequest
{
public:
DeleteNetworkProfileRequest();
// 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 "DeleteNetworkProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeleteNetworkProfileRequest& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeleteNetworkProfileRequest& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeleteNetworkProfileRequest& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
private:
Aws::String m_networkProfileArn;
bool m_networkProfileArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteNetworkProfileResult
{
public:
DeleteNetworkProfileResult();
DeleteNetworkProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteNetworkProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteProfileRequest : public AlexaForBusinessRequest
{
public:
DeleteProfileRequest();
// 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 "DeleteProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline DeleteProfileRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline DeleteProfileRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room profile to delete. Required.</p>
*/
inline DeleteProfileRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
private:
Aws::String m_profileArn;
bool m_profileArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteProfileResult
{
public:
DeleteProfileResult();
DeleteProfileResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteProfileResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteRoomRequest : public AlexaForBusinessRequest
{
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;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline DeleteRoomRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline DeleteRoomRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room to delete. Required.</p>
*/
inline DeleteRoomRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
private:
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteRoomResult
{
public:
DeleteRoomResult();
DeleteRoomResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteRoomResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteRoomSkillParameterRequest : public AlexaForBusinessRequest
{
public:
DeleteRoomSkillParameterRequest();
// 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 "DeleteRoomSkillParameter"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The ARN of the room from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline const Aws::String& GetSkillId() const{ return m_skillId; }
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
/**
* <p>The ID of the skill from which to remove the room skill parameter
* details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline const Aws::String& GetParameterKey() const{ return m_parameterKey; }
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; }
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; }
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::move(value); }
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); }
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;}
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithParameterKey(Aws::String&& value) { SetParameterKey(std::move(value)); return *this;}
/**
* <p>The room skill parameter key for which to remove details.</p>
*/
inline DeleteRoomSkillParameterRequest& WithParameterKey(const char* value) { SetParameterKey(value); return *this;}
private:
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
Aws::String m_skillId;
bool m_skillIdHasBeenSet;
Aws::String m_parameterKey;
bool m_parameterKeyHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteRoomSkillParameterResult
{
public:
DeleteRoomSkillParameterResult();
DeleteRoomSkillParameterResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteRoomSkillParameterResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteSkillAuthorizationRequest : public AlexaForBusinessRequest
{
public:
DeleteSkillAuthorizationRequest();
// 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 "DeleteSkillAuthorization"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The unique identifier of a skill.</p>
*/
inline const Aws::String& GetSkillId() const{ return m_skillId; }
/**
* <p>The unique identifier of a skill.</p>
*/
inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
/**
* <p>The unique identifier of a skill.</p>
*/
inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
/**
* <p>The unique identifier of a skill.</p>
*/
inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
/**
* <p>The unique identifier of a skill.</p>
*/
inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
/**
* <p>The unique identifier of a skill.</p>
*/
inline DeleteSkillAuthorizationRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
/**
* <p>The unique identifier of a skill.</p>
*/
inline DeleteSkillAuthorizationRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
/**
* <p>The unique identifier of a skill.</p>
*/
inline DeleteSkillAuthorizationRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
/**
* <p>The room that the skill is authorized for.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The room that the skill is authorized for.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The room that the skill is authorized for.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The room that the skill is authorized for.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The room that the skill is authorized for.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The room that the skill is authorized for.</p>
*/
inline DeleteSkillAuthorizationRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The room that the skill is authorized for.</p>
*/
inline DeleteSkillAuthorizationRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The room that the skill is authorized for.</p>
*/
inline DeleteSkillAuthorizationRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
private:
Aws::String m_skillId;
bool m_skillIdHasBeenSet;
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteSkillAuthorizationResult
{
public:
DeleteSkillAuthorizationResult();
DeleteSkillAuthorizationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteSkillAuthorizationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteSkillGroupRequest : public AlexaForBusinessRequest
{
public:
DeleteSkillGroupRequest();
// 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 "DeleteSkillGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline const Aws::String& GetSkillGroupArn() const{ return m_skillGroupArn; }
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline bool SkillGroupArnHasBeenSet() const { return m_skillGroupArnHasBeenSet; }
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline void SetSkillGroupArn(const Aws::String& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = value; }
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline void SetSkillGroupArn(Aws::String&& value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn = std::move(value); }
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline void SetSkillGroupArn(const char* value) { m_skillGroupArnHasBeenSet = true; m_skillGroupArn.assign(value); }
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline DeleteSkillGroupRequest& WithSkillGroupArn(const Aws::String& value) { SetSkillGroupArn(value); return *this;}
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline DeleteSkillGroupRequest& WithSkillGroupArn(Aws::String&& value) { SetSkillGroupArn(std::move(value)); return *this;}
/**
* <p>The ARN of the skill group to delete. Required.</p>
*/
inline DeleteSkillGroupRequest& WithSkillGroupArn(const char* value) { SetSkillGroupArn(value); return *this;}
private:
Aws::String m_skillGroupArn;
bool m_skillGroupArnHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteSkillGroupResult
{
public:
DeleteSkillGroupResult();
DeleteSkillGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteSkillGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/AlexaForBusinessRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
/**
*/
class AWS_ALEXAFORBUSINESS_API DeleteUserRequest : public AlexaForBusinessRequest
{
public:
DeleteUserRequest();
// 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 "DeleteUser"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline const Aws::String& GetUserArn() const{ return m_userArn; }
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline DeleteUserRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline DeleteUserRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
/**
* <p>The ARN of the user to delete in the organization. Required.</p>
*/
inline DeleteUserRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline const Aws::String& GetEnrollmentId() const{ return m_enrollmentId; }
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline bool EnrollmentIdHasBeenSet() const { return m_enrollmentIdHasBeenSet; }
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline void SetEnrollmentId(const Aws::String& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = value; }
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline void SetEnrollmentId(Aws::String&& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = std::move(value); }
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline void SetEnrollmentId(const char* value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId.assign(value); }
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline DeleteUserRequest& WithEnrollmentId(const Aws::String& value) { SetEnrollmentId(value); return *this;}
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline DeleteUserRequest& WithEnrollmentId(Aws::String&& value) { SetEnrollmentId(std::move(value)); return *this;}
/**
* <p>The ARN of the user's enrollment in the organization. Required.</p>
*/
inline DeleteUserRequest& WithEnrollmentId(const char* value) { SetEnrollmentId(value); return *this;}
private:
Aws::String m_userArn;
bool m_userArnHasBeenSet;
Aws::String m_enrollmentId;
bool m_enrollmentIdHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
class AWS_ALEXAFORBUSINESS_API DeleteUserResult
{
public:
DeleteUserResult();
DeleteUserResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,221 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_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 AlexaForBusiness
{
namespace Model
{
/**
* <p>The details about the developer that published the skill.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeveloperInfo">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API DeveloperInfo
{
public:
DeveloperInfo();
DeveloperInfo(Aws::Utils::Json::JsonView jsonValue);
DeveloperInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the developer.</p>
*/
inline const Aws::String& GetDeveloperName() const{ return m_developerName; }
/**
* <p>The name of the developer.</p>
*/
inline bool DeveloperNameHasBeenSet() const { return m_developerNameHasBeenSet; }
/**
* <p>The name of the developer.</p>
*/
inline void SetDeveloperName(const Aws::String& value) { m_developerNameHasBeenSet = true; m_developerName = value; }
/**
* <p>The name of the developer.</p>
*/
inline void SetDeveloperName(Aws::String&& value) { m_developerNameHasBeenSet = true; m_developerName = std::move(value); }
/**
* <p>The name of the developer.</p>
*/
inline void SetDeveloperName(const char* value) { m_developerNameHasBeenSet = true; m_developerName.assign(value); }
/**
* <p>The name of the developer.</p>
*/
inline DeveloperInfo& WithDeveloperName(const Aws::String& value) { SetDeveloperName(value); return *this;}
/**
* <p>The name of the developer.</p>
*/
inline DeveloperInfo& WithDeveloperName(Aws::String&& value) { SetDeveloperName(std::move(value)); return *this;}
/**
* <p>The name of the developer.</p>
*/
inline DeveloperInfo& WithDeveloperName(const char* value) { SetDeveloperName(value); return *this;}
/**
* <p>The URL of the privacy policy.</p>
*/
inline const Aws::String& GetPrivacyPolicy() const{ return m_privacyPolicy; }
/**
* <p>The URL of the privacy policy.</p>
*/
inline bool PrivacyPolicyHasBeenSet() const { return m_privacyPolicyHasBeenSet; }
/**
* <p>The URL of the privacy policy.</p>
*/
inline void SetPrivacyPolicy(const Aws::String& value) { m_privacyPolicyHasBeenSet = true; m_privacyPolicy = value; }
/**
* <p>The URL of the privacy policy.</p>
*/
inline void SetPrivacyPolicy(Aws::String&& value) { m_privacyPolicyHasBeenSet = true; m_privacyPolicy = std::move(value); }
/**
* <p>The URL of the privacy policy.</p>
*/
inline void SetPrivacyPolicy(const char* value) { m_privacyPolicyHasBeenSet = true; m_privacyPolicy.assign(value); }
/**
* <p>The URL of the privacy policy.</p>
*/
inline DeveloperInfo& WithPrivacyPolicy(const Aws::String& value) { SetPrivacyPolicy(value); return *this;}
/**
* <p>The URL of the privacy policy.</p>
*/
inline DeveloperInfo& WithPrivacyPolicy(Aws::String&& value) { SetPrivacyPolicy(std::move(value)); return *this;}
/**
* <p>The URL of the privacy policy.</p>
*/
inline DeveloperInfo& WithPrivacyPolicy(const char* value) { SetPrivacyPolicy(value); return *this;}
/**
* <p>The email of the developer.</p>
*/
inline const Aws::String& GetEmail() const{ return m_email; }
/**
* <p>The email of the developer.</p>
*/
inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
/**
* <p>The email of the developer.</p>
*/
inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
/**
* <p>The email of the developer.</p>
*/
inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
/**
* <p>The email of the developer.</p>
*/
inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
/**
* <p>The email of the developer.</p>
*/
inline DeveloperInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
/**
* <p>The email of the developer.</p>
*/
inline DeveloperInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
/**
* <p>The email of the developer.</p>
*/
inline DeveloperInfo& WithEmail(const char* value) { SetEmail(value); return *this;}
/**
* <p>The website of the developer.</p>
*/
inline const Aws::String& GetUrl() const{ return m_url; }
/**
* <p>The website of the developer.</p>
*/
inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
/**
* <p>The website of the developer.</p>
*/
inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
/**
* <p>The website of the developer.</p>
*/
inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
/**
* <p>The website of the developer.</p>
*/
inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
/**
* <p>The website of the developer.</p>
*/
inline DeveloperInfo& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
/**
* <p>The website of the developer.</p>
*/
inline DeveloperInfo& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
/**
* <p>The website of the developer.</p>
*/
inline DeveloperInfo& WithUrl(const char* value) { SetUrl(value); return *this;}
private:
Aws::String m_developerName;
bool m_developerNameHasBeenSet;
Aws::String m_privacyPolicy;
bool m_privacyPolicyHasBeenSet;
Aws::String m_email;
bool m_emailHasBeenSet;
Aws::String m_url;
bool m_urlHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,463 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/DeviceStatus.h>
#include <aws/alexaforbusiness/model/DeviceStatusInfo.h>
#include <aws/alexaforbusiness/model/DeviceNetworkProfileInfo.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>A device with attributes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Device">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API Device
{
public:
Device();
Device(Aws::Utils::Json::JsonView jsonValue);
Device& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of a device.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The ARN of a device.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The ARN of a device.</p>
*/
inline Device& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of a device.</p>
*/
inline Device& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The ARN of a device.</p>
*/
inline Device& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline const Aws::String& GetDeviceSerialNumber() const{ return m_deviceSerialNumber; }
/**
* <p>The serial number of a device.</p>
*/
inline bool DeviceSerialNumberHasBeenSet() const { return m_deviceSerialNumberHasBeenSet; }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(const Aws::String& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = value; }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(Aws::String&& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = std::move(value); }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(const char* value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber.assign(value); }
/**
* <p>The serial number of a device.</p>
*/
inline Device& WithDeviceSerialNumber(const Aws::String& value) { SetDeviceSerialNumber(value); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline Device& WithDeviceSerialNumber(Aws::String&& value) { SetDeviceSerialNumber(std::move(value)); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline Device& WithDeviceSerialNumber(const char* value) { SetDeviceSerialNumber(value); return *this;}
/**
* <p>The type of a device.</p>
*/
inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
/**
* <p>The type of a device.</p>
*/
inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
/**
* <p>The type of a device.</p>
*/
inline Device& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
/**
* <p>The type of a device.</p>
*/
inline Device& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
/**
* <p>The type of a device.</p>
*/
inline Device& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
/**
* <p>The name of a device.</p>
*/
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
/**
* <p>The name of a device.</p>
*/
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
/**
* <p>The name of a device.</p>
*/
inline Device& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
/**
* <p>The name of a device.</p>
*/
inline Device& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
/**
* <p>The name of a device.</p>
*/
inline Device& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; }
/**
* <p>The software version of a device.</p>
*/
inline bool SoftwareVersionHasBeenSet() const { return m_softwareVersionHasBeenSet; }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = value; }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::move(value); }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(const char* value) { m_softwareVersionHasBeenSet = true; m_softwareVersion.assign(value); }
/**
* <p>The software version of a device.</p>
*/
inline Device& WithSoftwareVersion(const Aws::String& value) { SetSoftwareVersion(value); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline Device& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline Device& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
/**
* <p>The MAC address of a device.</p>
*/
inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
/**
* <p>The MAC address of a device.</p>
*/
inline Device& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline Device& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline Device& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
/**
* <p>The room ARN of a device.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The room ARN of a device.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The room ARN of a device.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The room ARN of a device.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The room ARN of a device.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The room ARN of a device.</p>
*/
inline Device& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The room ARN of a device.</p>
*/
inline Device& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The room ARN of a device.</p>
*/
inline Device& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); }
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline Device& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
/**
* <p>The status of a device. If the status is not READY, check the
* DeviceStatusInfo value for details.</p>
*/
inline Device& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
/**
* <p>Detailed information about a device's status.</p>
*/
inline const DeviceStatusInfo& GetDeviceStatusInfo() const{ return m_deviceStatusInfo; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline bool DeviceStatusInfoHasBeenSet() const { return m_deviceStatusInfoHasBeenSet; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline void SetDeviceStatusInfo(const DeviceStatusInfo& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = value; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline void SetDeviceStatusInfo(DeviceStatusInfo&& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = std::move(value); }
/**
* <p>Detailed information about a device's status.</p>
*/
inline Device& WithDeviceStatusInfo(const DeviceStatusInfo& value) { SetDeviceStatusInfo(value); return *this;}
/**
* <p>Detailed information about a device's status.</p>
*/
inline Device& WithDeviceStatusInfo(DeviceStatusInfo&& value) { SetDeviceStatusInfo(std::move(value)); return *this;}
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline const DeviceNetworkProfileInfo& GetNetworkProfileInfo() const{ return m_networkProfileInfo; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline bool NetworkProfileInfoHasBeenSet() const { return m_networkProfileInfoHasBeenSet; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline void SetNetworkProfileInfo(const DeviceNetworkProfileInfo& value) { m_networkProfileInfoHasBeenSet = true; m_networkProfileInfo = value; }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline void SetNetworkProfileInfo(DeviceNetworkProfileInfo&& value) { m_networkProfileInfoHasBeenSet = true; m_networkProfileInfo = std::move(value); }
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline Device& WithNetworkProfileInfo(const DeviceNetworkProfileInfo& value) { SetNetworkProfileInfo(value); return *this;}
/**
* <p>Detailed information about a device's network profile.</p>
*/
inline Device& WithNetworkProfileInfo(DeviceNetworkProfileInfo&& value) { SetNetworkProfileInfo(std::move(value)); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
Aws::String m_deviceSerialNumber;
bool m_deviceSerialNumberHasBeenSet;
Aws::String m_deviceType;
bool m_deviceTypeHasBeenSet;
Aws::String m_deviceName;
bool m_deviceNameHasBeenSet;
Aws::String m_softwareVersion;
bool m_softwareVersionHasBeenSet;
Aws::String m_macAddress;
bool m_macAddressHasBeenSet;
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
DeviceStatus m_deviceStatus;
bool m_deviceStatusHasBeenSet;
DeviceStatusInfo m_deviceStatusInfo;
bool m_deviceStatusInfoHasBeenSet;
DeviceNetworkProfileInfo m_networkProfileInfo;
bool m_networkProfileInfoHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,589 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/alexaforbusiness/model/DeviceStatus.h>
#include <aws/alexaforbusiness/model/DeviceStatusInfo.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Device attributes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceData">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API DeviceData
{
public:
DeviceData();
DeviceData(Aws::Utils::Json::JsonView jsonValue);
DeviceData& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of a device.</p>
*/
inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
/**
* <p>The ARN of a device.</p>
*/
inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
/**
* <p>The ARN of a device.</p>
*/
inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
/**
* <p>The ARN of a device.</p>
*/
inline DeviceData& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
/**
* <p>The ARN of a device.</p>
*/
inline DeviceData& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
/**
* <p>The ARN of a device.</p>
*/
inline DeviceData& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline const Aws::String& GetDeviceSerialNumber() const{ return m_deviceSerialNumber; }
/**
* <p>The serial number of a device.</p>
*/
inline bool DeviceSerialNumberHasBeenSet() const { return m_deviceSerialNumberHasBeenSet; }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(const Aws::String& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = value; }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(Aws::String&& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = std::move(value); }
/**
* <p>The serial number of a device.</p>
*/
inline void SetDeviceSerialNumber(const char* value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber.assign(value); }
/**
* <p>The serial number of a device.</p>
*/
inline DeviceData& WithDeviceSerialNumber(const Aws::String& value) { SetDeviceSerialNumber(value); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline DeviceData& WithDeviceSerialNumber(Aws::String&& value) { SetDeviceSerialNumber(std::move(value)); return *this;}
/**
* <p>The serial number of a device.</p>
*/
inline DeviceData& WithDeviceSerialNumber(const char* value) { SetDeviceSerialNumber(value); return *this;}
/**
* <p>The type of a device.</p>
*/
inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
/**
* <p>The type of a device.</p>
*/
inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
/**
* <p>The type of a device.</p>
*/
inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
/**
* <p>The type of a device.</p>
*/
inline DeviceData& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
/**
* <p>The type of a device.</p>
*/
inline DeviceData& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
/**
* <p>The type of a device.</p>
*/
inline DeviceData& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
/**
* <p>The name of a device.</p>
*/
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
/**
* <p>The name of a device.</p>
*/
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
/**
* <p>The name of a device.</p>
*/
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
/**
* <p>The name of a device.</p>
*/
inline DeviceData& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
/**
* <p>The name of a device.</p>
*/
inline DeviceData& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
/**
* <p>The name of a device.</p>
*/
inline DeviceData& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; }
/**
* <p>The software version of a device.</p>
*/
inline bool SoftwareVersionHasBeenSet() const { return m_softwareVersionHasBeenSet; }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = value; }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::move(value); }
/**
* <p>The software version of a device.</p>
*/
inline void SetSoftwareVersion(const char* value) { m_softwareVersionHasBeenSet = true; m_softwareVersion.assign(value); }
/**
* <p>The software version of a device.</p>
*/
inline DeviceData& WithSoftwareVersion(const Aws::String& value) { SetSoftwareVersion(value); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline DeviceData& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;}
/**
* <p>The software version of a device.</p>
*/
inline DeviceData& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
/**
* <p>The MAC address of a device.</p>
*/
inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
/**
* <p>The MAC address of a device.</p>
*/
inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
/**
* <p>The MAC address of a device.</p>
*/
inline DeviceData& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline DeviceData& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
/**
* <p>The MAC address of a device.</p>
*/
inline DeviceData& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
/**
* <p>The status of a device.</p>
*/
inline const DeviceStatus& GetDeviceStatus() const{ return m_deviceStatus; }
/**
* <p>The status of a device.</p>
*/
inline bool DeviceStatusHasBeenSet() const { return m_deviceStatusHasBeenSet; }
/**
* <p>The status of a device.</p>
*/
inline void SetDeviceStatus(const DeviceStatus& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = value; }
/**
* <p>The status of a device.</p>
*/
inline void SetDeviceStatus(DeviceStatus&& value) { m_deviceStatusHasBeenSet = true; m_deviceStatus = std::move(value); }
/**
* <p>The status of a device.</p>
*/
inline DeviceData& WithDeviceStatus(const DeviceStatus& value) { SetDeviceStatus(value); return *this;}
/**
* <p>The status of a device.</p>
*/
inline DeviceData& WithDeviceStatus(DeviceStatus&& value) { SetDeviceStatus(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileName() const{ return m_networkProfileName; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline bool NetworkProfileNameHasBeenSet() const { return m_networkProfileNameHasBeenSet; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(const Aws::String& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = value; }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(Aws::String&& value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName = std::move(value); }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileName(const char* value) { m_networkProfileNameHasBeenSet = true; m_networkProfileName.assign(value); }
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileName(const Aws::String& value) { SetNetworkProfileName(value); return *this;}
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileName(Aws::String&& value) { SetNetworkProfileName(std::move(value)); return *this;}
/**
* <p>The name of the network profile associated with a device.</p>
*/
inline DeviceData& WithNetworkProfileName(const char* value) { SetNetworkProfileName(value); return *this;}
/**
* <p>The room ARN associated with a device.</p>
*/
inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
/**
* <p>The room ARN associated with a device.</p>
*/
inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
/**
* <p>The room ARN associated with a device.</p>
*/
inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
/**
* <p>The room ARN associated with a device.</p>
*/
inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
/**
* <p>The room ARN associated with a device.</p>
*/
inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
/**
* <p>The room ARN associated with a device.</p>
*/
inline DeviceData& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
/**
* <p>The room ARN associated with a device.</p>
*/
inline DeviceData& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
/**
* <p>The room ARN associated with a device.</p>
*/
inline DeviceData& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
/**
* <p>The name of the room associated with a device.</p>
*/
inline const Aws::String& GetRoomName() const{ return m_roomName; }
/**
* <p>The name of the room associated with a device.</p>
*/
inline bool RoomNameHasBeenSet() const { return m_roomNameHasBeenSet; }
/**
* <p>The name of the room associated with a device.</p>
*/
inline void SetRoomName(const Aws::String& value) { m_roomNameHasBeenSet = true; m_roomName = value; }
/**
* <p>The name of the room associated with a device.</p>
*/
inline void SetRoomName(Aws::String&& value) { m_roomNameHasBeenSet = true; m_roomName = std::move(value); }
/**
* <p>The name of the room associated with a device.</p>
*/
inline void SetRoomName(const char* value) { m_roomNameHasBeenSet = true; m_roomName.assign(value); }
/**
* <p>The name of the room associated with a device.</p>
*/
inline DeviceData& WithRoomName(const Aws::String& value) { SetRoomName(value); return *this;}
/**
* <p>The name of the room associated with a device.</p>
*/
inline DeviceData& WithRoomName(Aws::String&& value) { SetRoomName(std::move(value)); return *this;}
/**
* <p>The name of the room associated with a device.</p>
*/
inline DeviceData& WithRoomName(const char* value) { SetRoomName(value); return *this;}
/**
* <p>Detailed information about a device's status.</p>
*/
inline const DeviceStatusInfo& GetDeviceStatusInfo() const{ return m_deviceStatusInfo; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline bool DeviceStatusInfoHasBeenSet() const { return m_deviceStatusInfoHasBeenSet; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline void SetDeviceStatusInfo(const DeviceStatusInfo& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = value; }
/**
* <p>Detailed information about a device's status.</p>
*/
inline void SetDeviceStatusInfo(DeviceStatusInfo&& value) { m_deviceStatusInfoHasBeenSet = true; m_deviceStatusInfo = std::move(value); }
/**
* <p>Detailed information about a device's status.</p>
*/
inline DeviceData& WithDeviceStatusInfo(const DeviceStatusInfo& value) { SetDeviceStatusInfo(value); return *this;}
/**
* <p>Detailed information about a device's status.</p>
*/
inline DeviceData& WithDeviceStatusInfo(DeviceStatusInfo&& value) { SetDeviceStatusInfo(std::move(value)); return *this;}
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline DeviceData& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
/**
* <p>The time (in epoch) when the device data was created.</p>
*/
inline DeviceData& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
private:
Aws::String m_deviceArn;
bool m_deviceArnHasBeenSet;
Aws::String m_deviceSerialNumber;
bool m_deviceSerialNumberHasBeenSet;
Aws::String m_deviceType;
bool m_deviceTypeHasBeenSet;
Aws::String m_deviceName;
bool m_deviceNameHasBeenSet;
Aws::String m_softwareVersion;
bool m_softwareVersionHasBeenSet;
Aws::String m_macAddress;
bool m_macAddressHasBeenSet;
DeviceStatus m_deviceStatus;
bool m_deviceStatusHasBeenSet;
Aws::String m_networkProfileArn;
bool m_networkProfileArnHasBeenSet;
Aws::String m_networkProfileName;
bool m_networkProfileNameHasBeenSet;
Aws::String m_roomArn;
bool m_roomArnHasBeenSet;
Aws::String m_roomName;
bool m_roomNameHasBeenSet;
DeviceStatusInfo m_deviceStatusInfo;
bool m_deviceStatusInfoHasBeenSet;
Aws::Utils::DateTime m_createdTime;
bool m_createdTimeHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,158 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/alexaforbusiness/model/DeviceEventType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>The list of device events.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceEvent">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API DeviceEvent
{
public:
DeviceEvent();
DeviceEvent(Aws::Utils::Json::JsonView jsonValue);
DeviceEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The type of device event.</p>
*/
inline const DeviceEventType& GetType() const{ return m_type; }
/**
* <p>The type of device event.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The type of device event.</p>
*/
inline void SetType(const DeviceEventType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The type of device event.</p>
*/
inline void SetType(DeviceEventType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The type of device event.</p>
*/
inline DeviceEvent& WithType(const DeviceEventType& value) { SetType(value); return *this;}
/**
* <p>The type of device event.</p>
*/
inline DeviceEvent& WithType(DeviceEventType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The value of the event.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The value of the event.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The value of the event.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The value of the event.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The value of the event.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The value of the event.</p>
*/
inline DeviceEvent& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The value of the event.</p>
*/
inline DeviceEvent& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The value of the event.</p>
*/
inline DeviceEvent& WithValue(const char* value) { SetValue(value); return *this;}
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline DeviceEvent& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
/**
* <p>The time (in epoch) when the event occurred. </p>
*/
inline DeviceEvent& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
private:
DeviceEventType m_type;
bool m_typeHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
Aws::Utils::DateTime m_timestamp;
bool m_timestampHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // 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/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class DeviceEventType
{
NOT_SET,
CONNECTION_STATUS,
DEVICE_STATUS
};
namespace DeviceEventTypeMapper
{
AWS_ALEXAFORBUSINESS_API DeviceEventType GetDeviceEventTypeForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForDeviceEventType(DeviceEventType value);
} // namespace DeviceEventTypeMapper
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,168 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AlexaForBusiness
{
namespace Model
{
/**
* <p>Detailed information about a device's network profile.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceNetworkProfileInfo">AWS
* API Reference</a></p>
*/
class AWS_ALEXAFORBUSINESS_API DeviceNetworkProfileInfo
{
public:
DeviceNetworkProfileInfo();
DeviceNetworkProfileInfo(Aws::Utils::Json::JsonView jsonValue);
DeviceNetworkProfileInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
/**
* <p>The ARN of the network profile associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
/**
* <p>The ARN of the certificate associated with a device.</p>
*/
inline DeviceNetworkProfileInfo& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline const Aws::Utils::DateTime& GetCertificateExpirationTime() const{ return m_certificateExpirationTime; }
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline bool CertificateExpirationTimeHasBeenSet() const { return m_certificateExpirationTimeHasBeenSet; }
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline void SetCertificateExpirationTime(const Aws::Utils::DateTime& value) { m_certificateExpirationTimeHasBeenSet = true; m_certificateExpirationTime = value; }
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline void SetCertificateExpirationTime(Aws::Utils::DateTime&& value) { m_certificateExpirationTimeHasBeenSet = true; m_certificateExpirationTime = std::move(value); }
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline DeviceNetworkProfileInfo& WithCertificateExpirationTime(const Aws::Utils::DateTime& value) { SetCertificateExpirationTime(value); return *this;}
/**
* <p>The time (in epoch) when the certificate expires.</p>
*/
inline DeviceNetworkProfileInfo& WithCertificateExpirationTime(Aws::Utils::DateTime&& value) { SetCertificateExpirationTime(std::move(value)); return *this;}
private:
Aws::String m_networkProfileArn;
bool m_networkProfileArnHasBeenSet;
Aws::String m_certificateArn;
bool m_certificateArnHasBeenSet;
Aws::Utils::DateTime m_certificateExpirationTime;
bool m_certificateExpirationTimeHasBeenSet;
};
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

View File

@@ -0,0 +1,34 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class DeviceStatus
{
NOT_SET,
READY,
PENDING,
WAS_OFFLINE,
DEREGISTERED,
FAILED
};
namespace DeviceStatusMapper
{
AWS_ALEXAFORBUSINESS_API DeviceStatus GetDeviceStatusForName(const Aws::String& name);
AWS_ALEXAFORBUSINESS_API Aws::String GetNameForDeviceStatus(DeviceStatus value);
} // namespace DeviceStatusMapper
} // namespace Model
} // namespace AlexaForBusiness
} // namespace Aws

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