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,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class APIName
{
NOT_SET,
PUT_MEDIA,
GET_MEDIA,
LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST,
GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL,
GET_CLIP
};
namespace APINameMapper
{
AWS_KINESISVIDEO_API APIName GetAPINameForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForAPIName(APIName value);
} // namespace APINameMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,323 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/ChannelType.h>
#include <aws/kinesisvideo/model/Status.h>
#include <aws/core/utils/DateTime.h>
#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
/**
* <p>A structure that encapsulates a signaling channel's metadata and
* properties.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ChannelInfo">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API ChannelInfo
{
public:
ChannelInfo();
ChannelInfo(Aws::Utils::Json::JsonView jsonValue);
ChannelInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the signaling channel.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the signaling channel.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the signaling channel.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the signaling channel.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the signaling channel.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
/**
* <p>The type of the signaling channel.</p>
*/
inline const ChannelType& GetChannelType() const{ return m_channelType; }
/**
* <p>The type of the signaling channel.</p>
*/
inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
/**
* <p>The type of the signaling channel.</p>
*/
inline void SetChannelType(const ChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
/**
* <p>The type of the signaling channel.</p>
*/
inline void SetChannelType(ChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
/**
* <p>The type of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelType(const ChannelType& value) { SetChannelType(value); return *this;}
/**
* <p>The type of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelType(ChannelType&& value) { SetChannelType(std::move(value)); return *this;}
/**
* <p>Current status of the signaling channel.</p>
*/
inline const Status& GetChannelStatus() const{ return m_channelStatus; }
/**
* <p>Current status of the signaling channel.</p>
*/
inline bool ChannelStatusHasBeenSet() const { return m_channelStatusHasBeenSet; }
/**
* <p>Current status of the signaling channel.</p>
*/
inline void SetChannelStatus(const Status& value) { m_channelStatusHasBeenSet = true; m_channelStatus = value; }
/**
* <p>Current status of the signaling channel.</p>
*/
inline void SetChannelStatus(Status&& value) { m_channelStatusHasBeenSet = true; m_channelStatus = std::move(value); }
/**
* <p>Current status of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelStatus(const Status& value) { SetChannelStatus(value); return *this;}
/**
* <p>Current status of the signaling channel.</p>
*/
inline ChannelInfo& WithChannelStatus(Status&& value) { SetChannelStatus(std::move(value)); return *this;}
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline ChannelInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>The time at which the signaling channel was created.</p>
*/
inline ChannelInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; }
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; }
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); }
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline ChannelInfo& WithSingleMasterConfiguration(const SingleMasterConfiguration& value) { SetSingleMasterConfiguration(value); return *this;}
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline ChannelInfo& WithSingleMasterConfiguration(SingleMasterConfiguration&& value) { SetSingleMasterConfiguration(std::move(value)); return *this;}
/**
* <p>The current version of the signaling channel.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The current version of the signaling channel.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The current version of the signaling channel.</p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The current version of the signaling channel.</p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p>The current version of the signaling channel.</p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p>The current version of the signaling channel.</p>
*/
inline ChannelInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The current version of the signaling channel.</p>
*/
inline ChannelInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The current version of the signaling channel.</p>
*/
inline ChannelInfo& WithVersion(const char* value) { SetVersion(value); return *this;}
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::String m_channelARN;
bool m_channelARNHasBeenSet;
ChannelType m_channelType;
bool m_channelTypeHasBeenSet;
Status m_channelStatus;
bool m_channelStatusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
SingleMasterConfiguration m_singleMasterConfiguration;
bool m_singleMasterConfigurationHasBeenSet;
Aws::String m_version;
bool m_versionHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,139 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/model/ComparisonOperator.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 KinesisVideo
{
namespace Model
{
/**
* <p>An optional input parameter for the <code>ListSignalingChannels</code> API.
* When this parameter is specified while invoking
* <code>ListSignalingChannels</code>, the API returns only the channels that
* satisfy a condition specified in
* <code>ChannelNameCondition</code>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ChannelNameCondition">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API ChannelNameCondition
{
public:
ChannelNameCondition();
ChannelNameCondition(Aws::Utils::Json::JsonView jsonValue);
ChannelNameCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline const ComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline void SetComparisonOperator(const ComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline void SetComparisonOperator(ComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline ChannelNameCondition& WithComparisonOperator(const ComparisonOperator& value) { SetComparisonOperator(value); return *this;}
/**
* <p>A comparison operator. Currently, you can only specify the
* <code>BEGINS_WITH</code> operator, which finds signaling channels whose names
* begin with a given prefix.</p>
*/
inline ChannelNameCondition& WithComparisonOperator(ComparisonOperator&& value) { SetComparisonOperator(std::move(value)); return *this;}
/**
* <p>A value to compare.</p>
*/
inline const Aws::String& GetComparisonValue() const{ return m_comparisonValue; }
/**
* <p>A value to compare.</p>
*/
inline bool ComparisonValueHasBeenSet() const { return m_comparisonValueHasBeenSet; }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(const Aws::String& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = value; }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(Aws::String&& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = std::move(value); }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(const char* value) { m_comparisonValueHasBeenSet = true; m_comparisonValue.assign(value); }
/**
* <p>A value to compare.</p>
*/
inline ChannelNameCondition& WithComparisonValue(const Aws::String& value) { SetComparisonValue(value); return *this;}
/**
* <p>A value to compare.</p>
*/
inline ChannelNameCondition& WithComparisonValue(Aws::String&& value) { SetComparisonValue(std::move(value)); return *this;}
/**
* <p>A value to compare.</p>
*/
inline ChannelNameCondition& WithComparisonValue(const char* value) { SetComparisonValue(value); return *this;}
private:
ComparisonOperator m_comparisonOperator;
bool m_comparisonOperatorHasBeenSet;
Aws::String m_comparisonValue;
bool m_comparisonValueHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class ChannelProtocol
{
NOT_SET,
WSS,
HTTPS
};
namespace ChannelProtocolMapper
{
AWS_KINESISVIDEO_API ChannelProtocol GetChannelProtocolForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForChannelProtocol(ChannelProtocol value);
} // namespace ChannelProtocolMapper
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class ChannelRole
{
NOT_SET,
MASTER,
VIEWER
};
namespace ChannelRoleMapper
{
AWS_KINESISVIDEO_API ChannelRole GetChannelRoleForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForChannelRole(ChannelRole value);
} // namespace ChannelRoleMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,30 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class ChannelType
{
NOT_SET,
SINGLE_MASTER
};
namespace ChannelTypeMapper
{
AWS_KINESISVIDEO_API ChannelType GetChannelTypeForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForChannelType(ChannelType value);
} // namespace ChannelTypeMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,30 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class ComparisonOperator
{
NOT_SET,
BEGINS_WITH
};
namespace ComparisonOperatorMapper
{
AWS_KINESISVIDEO_API ComparisonOperator GetComparisonOperatorForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForComparisonOperator(ComparisonOperator value);
} // namespace ComparisonOperatorMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,227 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/ChannelType.h>
#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisvideo/model/Tag.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API CreateSignalingChannelRequest : public KinesisVideoRequest
{
public:
CreateSignalingChannelRequest();
// 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 "CreateSignalingChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline CreateSignalingChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline CreateSignalingChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>A name for the signaling channel that you are creating. It must be unique for
* each AWS account and AWS Region.</p>
*/
inline CreateSignalingChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline const ChannelType& GetChannelType() const{ return m_channelType; }
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline bool ChannelTypeHasBeenSet() const { return m_channelTypeHasBeenSet; }
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline void SetChannelType(const ChannelType& value) { m_channelTypeHasBeenSet = true; m_channelType = value; }
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline void SetChannelType(ChannelType&& value) { m_channelTypeHasBeenSet = true; m_channelType = std::move(value); }
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline CreateSignalingChannelRequest& WithChannelType(const ChannelType& value) { SetChannelType(value); return *this;}
/**
* <p>A type of the signaling channel that you are creating. Currently,
* <code>SINGLE_MASTER</code> is the only supported channel type. </p>
*/
inline CreateSignalingChannelRequest& WithChannelType(ChannelType&& value) { SetChannelType(std::move(value)); return *this;}
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; }
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; }
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); }
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline CreateSignalingChannelRequest& WithSingleMasterConfiguration(const SingleMasterConfiguration& value) { SetSingleMasterConfiguration(value); return *this;}
/**
* <p>A structure containing the configuration for the <code>SINGLE_MASTER</code>
* channel type. </p>
*/
inline CreateSignalingChannelRequest& WithSingleMasterConfiguration(SingleMasterConfiguration&& value) { SetSingleMasterConfiguration(std::move(value)); return *this;}
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline CreateSignalingChannelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline CreateSignalingChannelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline CreateSignalingChannelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>A set of tags (key-value pairs) that you want to associate with this
* channel.</p>
*/
inline CreateSignalingChannelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
ChannelType m_channelType;
bool m_channelTypeHasBeenSet;
SingleMasterConfiguration m_singleMasterConfiguration;
bool m_singleMasterConfigurationHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_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 KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API CreateSignalingChannelResult
{
public:
CreateSignalingChannelResult();
CreateSignalingChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSignalingChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline CreateSignalingChannelResult& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline CreateSignalingChannelResult& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the created channel.</p>
*/
inline CreateSignalingChannelResult& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
private:
Aws::String m_channelARN;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,478 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API CreateStreamRequest : public KinesisVideoRequest
{
public:
CreateStreamRequest();
// 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 "CreateStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline CreateStreamRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline CreateStreamRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
/**
* <p>The name of the device that is writing to the stream. </p> <p>In the
* current implementation, Kinesis Video Streams does not use this name.</p>
*
*/
inline CreateStreamRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline CreateStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline CreateStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>A name for the stream that you are creating.</p> <p>The stream name is an
* identifier for the stream, and must be unique for each account and region.</p>
*/
inline CreateStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline const Aws::String& GetMediaType() const{ return m_mediaType; }
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline CreateStreamRequest& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline CreateStreamRequest& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
/**
* <p>The media type of the stream. Consumers of the stream can use this
* information when processing the stream. For more information about media types,
* see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>
* for guidelines.</p> <p>Example valid values include "video/h264" and
* "video/h264,audio/aac".</p> <p>This parameter is optional; the default value is
* <code>null</code> (or empty in JSON).</p>
*/
inline CreateStreamRequest& WithMediaType(const char* value) { SetMediaType(value); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline CreateStreamRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline CreateStreamRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis
* Video Streams to use to encrypt stream data.</p> <p>If no key ID is specified,
* the default, Kinesis Video-managed key (<code>aws/kinesisvideo</code>) is
* used.</p> <p> For more information, see <a
* href="https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters">DescribeKey</a>.
* </p>
*/
inline CreateStreamRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
/**
* <p>The number of hours that you want to retain the data in the stream. Kinesis
* Video Streams retains the data in a data store that is associated with the
* stream.</p> <p>The default value is 0, indicating that the stream does not
* persist data.</p> <p>When the <code>DataRetentionInHours</code> value is 0,
* consumers can still consume the fragments that remain in the service host
* buffer, which has a retention time limit of 5 minutes and a retention memory
* limit of 200 MB. Fragments are removed from the buffer when either limit is
* reached.</p>
*/
inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; }
/**
* <p>The number of hours that you want to retain the data in the stream. Kinesis
* Video Streams retains the data in a data store that is associated with the
* stream.</p> <p>The default value is 0, indicating that the stream does not
* persist data.</p> <p>When the <code>DataRetentionInHours</code> value is 0,
* consumers can still consume the fragments that remain in the service host
* buffer, which has a retention time limit of 5 minutes and a retention memory
* limit of 200 MB. Fragments are removed from the buffer when either limit is
* reached.</p>
*/
inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; }
/**
* <p>The number of hours that you want to retain the data in the stream. Kinesis
* Video Streams retains the data in a data store that is associated with the
* stream.</p> <p>The default value is 0, indicating that the stream does not
* persist data.</p> <p>When the <code>DataRetentionInHours</code> value is 0,
* consumers can still consume the fragments that remain in the service host
* buffer, which has a retention time limit of 5 minutes and a retention memory
* limit of 200 MB. Fragments are removed from the buffer when either limit is
* reached.</p>
*/
inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; }
/**
* <p>The number of hours that you want to retain the data in the stream. Kinesis
* Video Streams retains the data in a data store that is associated with the
* stream.</p> <p>The default value is 0, indicating that the stream does not
* persist data.</p> <p>When the <code>DataRetentionInHours</code> value is 0,
* consumers can still consume the fragments that remain in the service host
* buffer, which has a retention time limit of 5 minutes and a retention memory
* limit of 200 MB. Fragments are removed from the buffer when either limit is
* reached.</p>
*/
inline CreateStreamRequest& WithDataRetentionInHours(int value) { SetDataRetentionInHours(value); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline CreateStreamRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_deviceName;
bool m_deviceNameHasBeenSet;
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_mediaType;
bool m_mediaTypeHasBeenSet;
Aws::String m_kmsKeyId;
bool m_kmsKeyIdHasBeenSet;
int m_dataRetentionInHours;
bool m_dataRetentionInHoursHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_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 KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API CreateStreamResult
{
public:
CreateStreamResult();
CreateStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline CreateStreamResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline CreateStreamResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline CreateStreamResult& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
private:
Aws::String m_streamARN;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,151 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API DeleteSignalingChannelRequest : public KinesisVideoRequest
{
public:
DeleteSignalingChannelRequest();
// 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 "DeleteSignalingChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline DeleteSignalingChannelRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline DeleteSignalingChannelRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* delete.</p>
*/
inline DeleteSignalingChannelRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline DeleteSignalingChannelRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline DeleteSignalingChannelRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
/**
* <p>The current version of the signaling channel that you want to delete. You can
* obtain the current version by invoking the <code>DescribeSignalingChannel</code>
* or <code>ListSignalingChannels</code> API operations.</p>
*/
inline DeleteSignalingChannelRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
private:
Aws::String m_channelARN;
bool m_channelARNHasBeenSet;
Aws::String m_currentVersion;
bool m_currentVersionHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API DeleteSignalingChannelResult
{
public:
DeleteSignalingChannelResult();
DeleteSignalingChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteSignalingChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API DeleteStreamRequest : public KinesisVideoRequest
{
public:
DeleteStreamRequest();
// 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 "DeleteStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline DeleteStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline DeleteStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to delete. </p>
*/
inline DeleteStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline DeleteStreamRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline DeleteStreamRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
/**
* <p>Optional: The version of the stream that you want to delete. </p> <p>Specify
* the version as a safeguard to ensure that your are deleting the correct stream.
* To get the stream version, use the <code>DescribeStream</code> API.</p> <p>If
* not specified, only the <code>CreationTime</code> is checked before deleting the
* stream.</p>
*/
inline DeleteStreamRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
private:
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_currentVersion;
bool m_currentVersionHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API DeleteStreamResult
{
public:
DeleteStreamResult();
DeleteStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API DescribeSignalingChannelRequest : public KinesisVideoRequest
{
public:
DescribeSignalingChannelRequest();
// 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 "DescribeSignalingChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The ARN of the signaling channel that you want to describe.</p>
*/
inline DescribeSignalingChannelRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::String m_channelARN;
bool m_channelARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/model/ChannelInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API DescribeSignalingChannelResult
{
public:
DescribeSignalingChannelResult();
DescribeSignalingChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeSignalingChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A structure that encapsulates the specified signaling channel's metadata and
* properties.</p>
*/
inline const ChannelInfo& GetChannelInfo() const{ return m_channelInfo; }
/**
* <p>A structure that encapsulates the specified signaling channel's metadata and
* properties.</p>
*/
inline void SetChannelInfo(const ChannelInfo& value) { m_channelInfo = value; }
/**
* <p>A structure that encapsulates the specified signaling channel's metadata and
* properties.</p>
*/
inline void SetChannelInfo(ChannelInfo&& value) { m_channelInfo = std::move(value); }
/**
* <p>A structure that encapsulates the specified signaling channel's metadata and
* properties.</p>
*/
inline DescribeSignalingChannelResult& WithChannelInfo(const ChannelInfo& value) { SetChannelInfo(value); return *this;}
/**
* <p>A structure that encapsulates the specified signaling channel's metadata and
* properties.</p>
*/
inline DescribeSignalingChannelResult& WithChannelInfo(ChannelInfo&& value) { SetChannelInfo(std::move(value)); return *this;}
private:
ChannelInfo m_channelInfo;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API DescribeStreamRequest : public KinesisVideoRequest
{
public:
DescribeStreamRequest();
// 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 "DescribeStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the stream.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline DescribeStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
private:
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/model/StreamInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API DescribeStreamResult
{
public:
DescribeStreamResult();
DescribeStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that describes the stream.</p>
*/
inline const StreamInfo& GetStreamInfo() const{ return m_streamInfo; }
/**
* <p>An object that describes the stream.</p>
*/
inline void SetStreamInfo(const StreamInfo& value) { m_streamInfo = value; }
/**
* <p>An object that describes the stream.</p>
*/
inline void SetStreamInfo(StreamInfo&& value) { m_streamInfo = std::move(value); }
/**
* <p>An object that describes the stream.</p>
*/
inline DescribeStreamResult& WithStreamInfo(const StreamInfo& value) { SetStreamInfo(value); return *this;}
/**
* <p>An object that describes the stream.</p>
*/
inline DescribeStreamResult& WithStreamInfo(StreamInfo&& value) { SetStreamInfo(std::move(value)); return *this;}
private:
StreamInfo m_streamInfo;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,186 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/APIName.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API GetDataEndpointRequest : public KinesisVideoRequest
{
public:
GetDataEndpointRequest();
// 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 "GetDataEndpoint"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline GetDataEndpointRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline GetDataEndpointRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream that you want to get the endpoint for. You must
* specify either this parameter or a <code>StreamARN</code> in the request.</p>
*/
inline GetDataEndpointRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline GetDataEndpointRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline GetDataEndpointRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to get the
* endpoint for. You must specify either this parameter or a
* <code>StreamName</code> in the request. </p>
*/
inline GetDataEndpointRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline const APIName& GetAPIName() const{ return m_aPIName; }
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline bool APINameHasBeenSet() const { return m_aPINameHasBeenSet; }
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline void SetAPIName(const APIName& value) { m_aPINameHasBeenSet = true; m_aPIName = value; }
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline void SetAPIName(APIName&& value) { m_aPINameHasBeenSet = true; m_aPIName = std::move(value); }
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline GetDataEndpointRequest& WithAPIName(const APIName& value) { SetAPIName(value); return *this;}
/**
* <p>The name of the API action for which to get an endpoint.</p>
*/
inline GetDataEndpointRequest& WithAPIName(APIName&& value) { SetAPIName(std::move(value)); return *this;}
private:
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
APIName m_aPIName;
bool m_aPINameHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,84 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_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 KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API GetDataEndpointResult
{
public:
GetDataEndpointResult();
GetDataEndpointResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDataEndpointResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline const Aws::String& GetDataEndpoint() const{ return m_dataEndpoint; }
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline void SetDataEndpoint(const Aws::String& value) { m_dataEndpoint = value; }
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline void SetDataEndpoint(Aws::String&& value) { m_dataEndpoint = std::move(value); }
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline void SetDataEndpoint(const char* value) { m_dataEndpoint.assign(value); }
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline GetDataEndpointResult& WithDataEndpoint(const Aws::String& value) { SetDataEndpoint(value); return *this;}
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline GetDataEndpointResult& WithDataEndpoint(Aws::String&& value) { SetDataEndpoint(std::move(value)); return *this;}
/**
* <p>The endpoint value. To read data from the stream or to write data to it,
* specify this endpoint in your application.</p>
*/
inline GetDataEndpointResult& WithDataEndpoint(const char* value) { SetDataEndpoint(value); return *this;}
private:
Aws::String m_dataEndpoint;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/SingleMasterChannelEndpointConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API GetSignalingChannelEndpointRequest : public KinesisVideoRequest
{
public:
GetSignalingChannelEndpointRequest();
// 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 "GetSignalingChannelEndpoint"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline GetSignalingChannelEndpointRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline GetSignalingChannelEndpointRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signalling channel for which you want
* to get an endpoint.</p>
*/
inline GetSignalingChannelEndpointRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline const SingleMasterChannelEndpointConfiguration& GetSingleMasterChannelEndpointConfiguration() const{ return m_singleMasterChannelEndpointConfiguration; }
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline bool SingleMasterChannelEndpointConfigurationHasBeenSet() const { return m_singleMasterChannelEndpointConfigurationHasBeenSet; }
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline void SetSingleMasterChannelEndpointConfiguration(const SingleMasterChannelEndpointConfiguration& value) { m_singleMasterChannelEndpointConfigurationHasBeenSet = true; m_singleMasterChannelEndpointConfiguration = value; }
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline void SetSingleMasterChannelEndpointConfiguration(SingleMasterChannelEndpointConfiguration&& value) { m_singleMasterChannelEndpointConfigurationHasBeenSet = true; m_singleMasterChannelEndpointConfiguration = std::move(value); }
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline GetSignalingChannelEndpointRequest& WithSingleMasterChannelEndpointConfiguration(const SingleMasterChannelEndpointConfiguration& value) { SetSingleMasterChannelEndpointConfiguration(value); return *this;}
/**
* <p>A structure containing the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type.</p>
*/
inline GetSignalingChannelEndpointRequest& WithSingleMasterChannelEndpointConfiguration(SingleMasterChannelEndpointConfiguration&& value) { SetSingleMasterChannelEndpointConfiguration(std::move(value)); return *this;}
private:
Aws::String m_channelARN;
bool m_channelARNHasBeenSet;
SingleMasterChannelEndpointConfiguration m_singleMasterChannelEndpointConfiguration;
bool m_singleMasterChannelEndpointConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisvideo/model/ResourceEndpointListItem.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API GetSignalingChannelEndpointResult
{
public:
GetSignalingChannelEndpointResult();
GetSignalingChannelEndpointResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetSignalingChannelEndpointResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline const Aws::Vector<ResourceEndpointListItem>& GetResourceEndpointList() const{ return m_resourceEndpointList; }
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline void SetResourceEndpointList(const Aws::Vector<ResourceEndpointListItem>& value) { m_resourceEndpointList = value; }
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline void SetResourceEndpointList(Aws::Vector<ResourceEndpointListItem>&& value) { m_resourceEndpointList = std::move(value); }
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline GetSignalingChannelEndpointResult& WithResourceEndpointList(const Aws::Vector<ResourceEndpointListItem>& value) { SetResourceEndpointList(value); return *this;}
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline GetSignalingChannelEndpointResult& WithResourceEndpointList(Aws::Vector<ResourceEndpointListItem>&& value) { SetResourceEndpointList(std::move(value)); return *this;}
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline GetSignalingChannelEndpointResult& AddResourceEndpointList(const ResourceEndpointListItem& value) { m_resourceEndpointList.push_back(value); return *this; }
/**
* <p>A list of endpoints for the specified signaling channel.</p>
*/
inline GetSignalingChannelEndpointResult& AddResourceEndpointList(ResourceEndpointListItem&& value) { m_resourceEndpointList.push_back(std::move(value)); return *this; }
private:
Aws::Vector<ResourceEndpointListItem> m_resourceEndpointList;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,170 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/ChannelNameCondition.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API ListSignalingChannelsRequest : public KinesisVideoRequest
{
public:
ListSignalingChannelsRequest();
// 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 "ListSignalingChannels"; }
Aws::String SerializePayload() const override;
/**
* <p>The maximum number of channels to return in the response. The default is
* 500.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of channels to return in the response. The default is
* 500.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of channels to return in the response. The default is
* 500.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of channels to return in the response. The default is
* 500.</p>
*/
inline ListSignalingChannelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline ListSignalingChannelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline ListSignalingChannelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter, when the result of a
* <code>ListSignalingChannels</code> operation is truncated, the call returns the
* <code>NextToken</code> in the response. To get another batch of channels,
* provide this token in your next request.</p>
*/
inline ListSignalingChannelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline const ChannelNameCondition& GetChannelNameCondition() const{ return m_channelNameCondition; }
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline bool ChannelNameConditionHasBeenSet() const { return m_channelNameConditionHasBeenSet; }
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline void SetChannelNameCondition(const ChannelNameCondition& value) { m_channelNameConditionHasBeenSet = true; m_channelNameCondition = value; }
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline void SetChannelNameCondition(ChannelNameCondition&& value) { m_channelNameConditionHasBeenSet = true; m_channelNameCondition = std::move(value); }
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline ListSignalingChannelsRequest& WithChannelNameCondition(const ChannelNameCondition& value) { SetChannelNameCondition(value); return *this;}
/**
* <p>Optional: Returns only the channels that satisfy a specific condition.</p>
*/
inline ListSignalingChannelsRequest& WithChannelNameCondition(ChannelNameCondition&& value) { SetChannelNameCondition(std::move(value)); return *this;}
private:
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
ChannelNameCondition m_channelNameCondition;
bool m_channelNameConditionHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/ChannelInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API ListSignalingChannelsResult
{
public:
ListSignalingChannelsResult();
ListSignalingChannelsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListSignalingChannelsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline const Aws::Vector<ChannelInfo>& GetChannelInfoList() const{ return m_channelInfoList; }
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline void SetChannelInfoList(const Aws::Vector<ChannelInfo>& value) { m_channelInfoList = value; }
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline void SetChannelInfoList(Aws::Vector<ChannelInfo>&& value) { m_channelInfoList = std::move(value); }
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline ListSignalingChannelsResult& WithChannelInfoList(const Aws::Vector<ChannelInfo>& value) { SetChannelInfoList(value); return *this;}
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline ListSignalingChannelsResult& WithChannelInfoList(Aws::Vector<ChannelInfo>&& value) { SetChannelInfoList(std::move(value)); return *this;}
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline ListSignalingChannelsResult& AddChannelInfoList(const ChannelInfo& value) { m_channelInfoList.push_back(value); return *this; }
/**
* <p>An array of <code>ChannelInfo</code> objects.</p>
*/
inline ListSignalingChannelsResult& AddChannelInfoList(ChannelInfo&& value) { m_channelInfoList.push_back(std::move(value)); return *this; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline ListSignalingChannelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline ListSignalingChannelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request.</p>
*/
inline ListSignalingChannelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<ChannelInfo> m_channelInfoList;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/StreamNameCondition.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API ListStreamsRequest : public KinesisVideoRequest
{
public:
ListStreamsRequest();
// 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 "ListStreams"; }
Aws::String SerializePayload() const override;
/**
* <p>The maximum number of streams to return in the response. The default is
* 10,000.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of streams to return in the response. The default is
* 10,000.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of streams to return in the response. The default is
* 10,000.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of streams to return in the response. The default is
* 10,000.</p>
*/
inline ListStreamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline ListStreamsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline ListStreamsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter, when the result of a <code>ListStreams</code>
* operation is truncated, the call returns the <code>NextToken</code> in the
* response. To get another batch of streams, provide this token in your next
* request.</p>
*/
inline ListStreamsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline const StreamNameCondition& GetStreamNameCondition() const{ return m_streamNameCondition; }
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline bool StreamNameConditionHasBeenSet() const { return m_streamNameConditionHasBeenSet; }
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline void SetStreamNameCondition(const StreamNameCondition& value) { m_streamNameConditionHasBeenSet = true; m_streamNameCondition = value; }
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline void SetStreamNameCondition(StreamNameCondition&& value) { m_streamNameConditionHasBeenSet = true; m_streamNameCondition = std::move(value); }
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline ListStreamsRequest& WithStreamNameCondition(const StreamNameCondition& value) { SetStreamNameCondition(value); return *this;}
/**
* <p>Optional: Returns only streams that satisfy a specific condition. Currently,
* you can specify only the prefix of a stream name as a condition. </p>
*/
inline ListStreamsRequest& WithStreamNameCondition(StreamNameCondition&& value) { SetStreamNameCondition(std::move(value)); return *this;}
private:
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
StreamNameCondition m_streamNameCondition;
bool m_streamNameConditionHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/StreamInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API ListStreamsResult
{
public:
ListStreamsResult();
ListStreamsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListStreamsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline const Aws::Vector<StreamInfo>& GetStreamInfoList() const{ return m_streamInfoList; }
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline void SetStreamInfoList(const Aws::Vector<StreamInfo>& value) { m_streamInfoList = value; }
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline void SetStreamInfoList(Aws::Vector<StreamInfo>&& value) { m_streamInfoList = std::move(value); }
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline ListStreamsResult& WithStreamInfoList(const Aws::Vector<StreamInfo>& value) { SetStreamInfoList(value); return *this;}
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline ListStreamsResult& WithStreamInfoList(Aws::Vector<StreamInfo>&& value) { SetStreamInfoList(std::move(value)); return *this;}
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline ListStreamsResult& AddStreamInfoList(const StreamInfo& value) { m_streamInfoList.push_back(value); return *this; }
/**
* <p>An array of <code>StreamInfo</code> objects.</p>
*/
inline ListStreamsResult& AddStreamInfoList(StreamInfo&& value) { m_streamInfoList.push_back(std::move(value)); return *this; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline ListStreamsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline ListStreamsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If the response is truncated, the call returns this element with a token. To
* get the next batch of streams, use this token in your next request. </p>
*/
inline ListStreamsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<StreamInfo> m_streamInfoList;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,151 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API ListTagsForResourceRequest : public KinesisVideoRequest
{
public:
ListTagsForResourceRequest();
// 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 "ListTagsForResource"; }
Aws::String SerializePayload() const override;
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline ListTagsForResourceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline ListTagsForResourceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next batch of tags. </p>
*/
inline ListTagsForResourceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel for which you want to
* list tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,167 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API ListTagsForResourceResult
{
public:
ListTagsForResourceResult();
ListTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline ListTagsForResourceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline ListTagsForResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForResource</code> call is truncated, the response includes a
* token that you can use in the next request to fetch the next set of tags. </p>
*/
inline ListTagsForResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified signaling
* channel.</p>
*/
inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_nextToken;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,195 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API ListTagsForStreamRequest : public KinesisVideoRequest
{
public:
ListTagsForStreamRequest();
// 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 "ListTagsForStream"; }
Aws::String SerializePayload() const override;
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline ListTagsForStreamRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline ListTagsForStreamRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter and the result of a
* <code>ListTagsForStream</code> call is truncated, the response includes a token
* that you can use in the next request to fetch the next batch of tags.</p>
*/
inline ListTagsForStreamRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline ListTagsForStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline ListTagsForStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to list tags
* for.</p>
*/
inline ListTagsForStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline ListTagsForStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline ListTagsForStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream that you want to list tags for.</p>
*/
inline ListTagsForStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API ListTagsForStreamResult
{
public:
ListTagsForStreamResult();
ListTagsForStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListTagsForStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline ListTagsForStreamResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline ListTagsForStreamResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>If you specify this parameter and the result of a <code>ListTags</code> call
* is truncated, the response includes a token that you can use in the next request
* to fetch the next set of tags.</p>
*/
inline ListTagsForStreamResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A map of tag keys and values associated with the specified stream.</p>
*/
inline ListTagsForStreamResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_nextToken;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,138 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/model/ChannelProtocol.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 KinesisVideo
{
namespace Model
{
/**
* <p>An object that describes the endpoint of the signaling channel returned by
* the <code>GetSignalingChannelEndpoint</code> API.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ResourceEndpointListItem">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API ResourceEndpointListItem
{
public:
ResourceEndpointListItem();
ResourceEndpointListItem(Aws::Utils::Json::JsonView jsonValue);
ResourceEndpointListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline const ChannelProtocol& GetProtocol() const{ return m_protocol; }
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline void SetProtocol(const ChannelProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline void SetProtocol(ChannelProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline ResourceEndpointListItem& WithProtocol(const ChannelProtocol& value) { SetProtocol(value); return *this;}
/**
* <p>The protocol of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline ResourceEndpointListItem& WithProtocol(ChannelProtocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline const Aws::String& GetResourceEndpoint() const{ return m_resourceEndpoint; }
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline bool ResourceEndpointHasBeenSet() const { return m_resourceEndpointHasBeenSet; }
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline void SetResourceEndpoint(const Aws::String& value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint = value; }
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline void SetResourceEndpoint(Aws::String&& value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint = std::move(value); }
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline void SetResourceEndpoint(const char* value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint.assign(value); }
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline ResourceEndpointListItem& WithResourceEndpoint(const Aws::String& value) { SetResourceEndpoint(value); return *this;}
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline ResourceEndpointListItem& WithResourceEndpoint(Aws::String&& value) { SetResourceEndpoint(std::move(value)); return *this;}
/**
* <p>The endpoint of the signaling channel returned by the
* <code>GetSignalingChannelEndpoint</code> API.</p>
*/
inline ResourceEndpointListItem& WithResourceEndpoint(const char* value) { SetResourceEndpoint(value); return *this;}
private:
ChannelProtocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_resourceEndpoint;
bool m_resourceEndpointHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisvideo/model/ChannelRole.h>
#include <aws/kinesisvideo/model/ChannelProtocol.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
/**
* <p>An object that contains the endpoint configuration for the
* <code>SINGLE_MASTER</code> channel type. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/SingleMasterChannelEndpointConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API SingleMasterChannelEndpointConfiguration
{
public:
SingleMasterChannelEndpointConfiguration();
SingleMasterChannelEndpointConfiguration(Aws::Utils::Json::JsonView jsonValue);
SingleMasterChannelEndpointConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline const Aws::Vector<ChannelProtocol>& GetProtocols() const{ return m_protocols; }
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; }
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline void SetProtocols(const Aws::Vector<ChannelProtocol>& value) { m_protocolsHasBeenSet = true; m_protocols = value; }
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline void SetProtocols(Aws::Vector<ChannelProtocol>&& value) { m_protocolsHasBeenSet = true; m_protocols = std::move(value); }
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline SingleMasterChannelEndpointConfiguration& WithProtocols(const Aws::Vector<ChannelProtocol>& value) { SetProtocols(value); return *this;}
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline SingleMasterChannelEndpointConfiguration& WithProtocols(Aws::Vector<ChannelProtocol>&& value) { SetProtocols(std::move(value)); return *this;}
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline SingleMasterChannelEndpointConfiguration& AddProtocols(const ChannelProtocol& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
/**
* <p>This property is used to determine the nature of communication over this
* <code>SINGLE_MASTER</code> signaling channel. If <code>WSS</code> is specified,
* this API returns a websocket endpoint. If <code>HTTPS</code> is specified, this
* API returns an <code>HTTPS</code> endpoint.</p>
*/
inline SingleMasterChannelEndpointConfiguration& AddProtocols(ChannelProtocol&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; }
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline const ChannelRole& GetRole() const{ return m_role; }
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline void SetRole(const ChannelRole& value) { m_roleHasBeenSet = true; m_role = value; }
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline void SetRole(ChannelRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline SingleMasterChannelEndpointConfiguration& WithRole(const ChannelRole& value) { SetRole(value); return *this;}
/**
* <p>This property is used to determine messaging permissions in this
* <code>SINGLE_MASTER</code> signaling channel. If <code>MASTER</code> is
* specified, this API returns an endpoint that a client can use to receive offers
* from and send answers to any of the viewers on this signaling channel. If
* <code>VIEWER</code> is specified, this API returns an endpoint that a client can
* use only to send offers to another <code>MASTER</code> client on this signaling
* channel. </p>
*/
inline SingleMasterChannelEndpointConfiguration& WithRole(ChannelRole&& value) { SetRole(std::move(value)); return *this;}
private:
Aws::Vector<ChannelProtocol> m_protocols;
bool m_protocolsHasBeenSet;
ChannelRole m_role;
bool m_roleHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
/**
* <p>A structure that contains the configuration for the
* <code>SINGLE_MASTER</code> channel type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/SingleMasterConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API SingleMasterConfiguration
{
public:
SingleMasterConfiguration();
SingleMasterConfiguration(Aws::Utils::Json::JsonView jsonValue);
SingleMasterConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline int GetMessageTtlSeconds() const{ return m_messageTtlSeconds; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline bool MessageTtlSecondsHasBeenSet() const { return m_messageTtlSecondsHasBeenSet; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline void SetMessageTtlSeconds(int value) { m_messageTtlSecondsHasBeenSet = true; m_messageTtlSeconds = value; }
/**
* <p>The period of time a signaling channel retains underlivered messages before
* they are discarded.</p>
*/
inline SingleMasterConfiguration& WithMessageTtlSeconds(int value) { SetMessageTtlSeconds(value); return *this;}
private:
int m_messageTtlSeconds;
bool m_messageTtlSecondsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,33 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class Status
{
NOT_SET,
CREATING,
ACTIVE,
UPDATING,
DELETING
};
namespace StatusMapper
{
AWS_KINESISVIDEO_API Status GetStatusForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForStatus(Status value);
} // namespace StatusMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,410 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/Status.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
/**
* <p>An object describing a Kinesis video stream.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StreamInfo">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API StreamInfo
{
public:
StreamInfo();
StreamInfo(Aws::Utils::Json::JsonView jsonValue);
StreamInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline StreamInfo& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline StreamInfo& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
/**
* <p>The name of the device that is associated with the stream.</p>
*/
inline StreamInfo& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
/**
* <p>The name of the stream.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream.</p>
*/
inline StreamInfo& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream.</p>
*/
inline StreamInfo& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream.</p>
*/
inline StreamInfo& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline StreamInfo& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline StreamInfo& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream.</p>
*/
inline StreamInfo& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline const Aws::String& GetMediaType() const{ return m_mediaType; }
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline StreamInfo& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline StreamInfo& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
/**
* <p>The <code>MediaType</code> of the stream. </p>
*/
inline StreamInfo& WithMediaType(const char* value) { SetMediaType(value); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline StreamInfo& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline StreamInfo& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
/**
* <p>The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video
* Streams uses to encrypt data on the stream.</p>
*/
inline StreamInfo& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
/**
* <p>The version of the stream.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the stream.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version of the stream.</p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version of the stream.</p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p>The version of the stream.</p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p>The version of the stream.</p>
*/
inline StreamInfo& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the stream.</p>
*/
inline StreamInfo& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the stream.</p>
*/
inline StreamInfo& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The status of the stream.</p>
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* <p>The status of the stream.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the stream.</p>
*/
inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the stream.</p>
*/
inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the stream.</p>
*/
inline StreamInfo& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* <p>The status of the stream.</p>
*/
inline StreamInfo& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline StreamInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>A time stamp that indicates when the stream was created.</p>
*/
inline StreamInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>How long the stream retains data, in hours.</p>
*/
inline int GetDataRetentionInHours() const{ return m_dataRetentionInHours; }
/**
* <p>How long the stream retains data, in hours.</p>
*/
inline bool DataRetentionInHoursHasBeenSet() const { return m_dataRetentionInHoursHasBeenSet; }
/**
* <p>How long the stream retains data, in hours.</p>
*/
inline void SetDataRetentionInHours(int value) { m_dataRetentionInHoursHasBeenSet = true; m_dataRetentionInHours = value; }
/**
* <p>How long the stream retains data, in hours.</p>
*/
inline StreamInfo& WithDataRetentionInHours(int value) { SetDataRetentionInHours(value); return *this;}
private:
Aws::String m_deviceName;
bool m_deviceNameHasBeenSet;
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_mediaType;
bool m_mediaTypeHasBeenSet;
Aws::String m_kmsKeyId;
bool m_kmsKeyIdHasBeenSet;
Aws::String m_version;
bool m_versionHasBeenSet;
Status m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
int m_dataRetentionInHours;
bool m_dataRetentionInHoursHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,139 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/model/ComparisonOperator.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 KinesisVideo
{
namespace Model
{
/**
* <p>Specifies the condition that streams must satisfy to be returned when you
* list streams (see the <code>ListStreams</code> API). A condition has a
* comparison operation and a value. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StreamNameCondition">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API StreamNameCondition
{
public:
StreamNameCondition();
StreamNameCondition(Aws::Utils::Json::JsonView jsonValue);
StreamNameCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline const ComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline void SetComparisonOperator(const ComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline void SetComparisonOperator(ComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline StreamNameCondition& WithComparisonOperator(const ComparisonOperator& value) { SetComparisonOperator(value); return *this;}
/**
* <p>A comparison operator. Currently, you can specify only the
* <code>BEGINS_WITH</code> operator, which finds streams whose names start with a
* given prefix.</p>
*/
inline StreamNameCondition& WithComparisonOperator(ComparisonOperator&& value) { SetComparisonOperator(std::move(value)); return *this;}
/**
* <p>A value to compare.</p>
*/
inline const Aws::String& GetComparisonValue() const{ return m_comparisonValue; }
/**
* <p>A value to compare.</p>
*/
inline bool ComparisonValueHasBeenSet() const { return m_comparisonValueHasBeenSet; }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(const Aws::String& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = value; }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(Aws::String&& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = std::move(value); }
/**
* <p>A value to compare.</p>
*/
inline void SetComparisonValue(const char* value) { m_comparisonValueHasBeenSet = true; m_comparisonValue.assign(value); }
/**
* <p>A value to compare.</p>
*/
inline StreamNameCondition& WithComparisonValue(const Aws::String& value) { SetComparisonValue(value); return *this;}
/**
* <p>A value to compare.</p>
*/
inline StreamNameCondition& WithComparisonValue(Aws::String&& value) { SetComparisonValue(std::move(value)); return *this;}
/**
* <p>A value to compare.</p>
*/
inline StreamNameCondition& WithComparisonValue(const char* value) { SetComparisonValue(value); return *this;}
private:
ComparisonOperator m_comparisonOperator;
bool m_comparisonOperatorHasBeenSet;
Aws::String m_comparisonValue;
bool m_comparisonValueHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_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 KinesisVideo
{
namespace Model
{
/**
* <p>A key and value pair that is associated with the specified signaling
* channel.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/Tag">AWS
* API Reference</a></p>
*/
class AWS_KINESISVIDEO_API Tag
{
public:
Tag();
Tag(Aws::Utils::Json::JsonView jsonValue);
Tag& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline const Aws::String& GetKey() const{ return m_key; }
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;}
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
/**
* <p>The key of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithKey(const char* value) { SetKey(value); return *this;}
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The value of the tag that is associated with the specified signaling
* channel.</p>
*/
inline Tag& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_key;
bool m_keyHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisvideo/model/Tag.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API TagResourceRequest : public KinesisVideoRequest
{
public:
TagResourceRequest();
// 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 "TagResource"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline TagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline TagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel to which you want to
* add tags.</p>
*/
inline TagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline TagResourceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline TagResourceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline TagResourceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>A list of tags to associate with the specified signaling channel. Each tag is
* a key-value pair.</p>
*/
inline TagResourceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API TagResourceResult
{
public:
TagResourceResult();
TagResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
TagResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,218 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API TagStreamRequest : public KinesisVideoRequest
{
public:
TagStreamRequest();
// 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 "TagStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline TagStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline TagStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the resource that you want to add the tag
* or tags to.</p>
*/
inline TagStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline TagStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline TagStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream that you want to add the tag or tags to.</p>
*/
inline TagStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A list of tags to associate with the specified stream. Each tag is a
* key-value pair (the value is optional).</p>
*/
inline TagStreamRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API TagStreamResult
{
public:
TagStreamResult();
TagStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
TagStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,141 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API UntagResourceRequest : public KinesisVideoRequest
{
public:
UntagResourceRequest();
// 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 "UntagResource"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel from which you want
* to remove tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline const Aws::Vector<Aws::String>& GetTagKeyList() const{ return m_tagKeyList; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline bool TagKeyListHasBeenSet() const { return m_tagKeyListHasBeenSet; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline void SetTagKeyList(const Aws::Vector<Aws::String>& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList = value; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline void SetTagKeyList(Aws::Vector<Aws::String>&& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList = std::move(value); }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagResourceRequest& WithTagKeyList(const Aws::Vector<Aws::String>& value) { SetTagKeyList(value); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagResourceRequest& WithTagKeyList(Aws::Vector<Aws::String>&& value) { SetTagKeyList(std::move(value)); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagResourceRequest& AddTagKeyList(const Aws::String& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(value); return *this; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagResourceRequest& AddTagKeyList(Aws::String&& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(std::move(value)); return *this; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagResourceRequest& AddTagKeyList(const char* value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(value); return *this; }
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::Vector<Aws::String> m_tagKeyList;
bool m_tagKeyListHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API UntagResourceResult
{
public:
UntagResourceResult();
UntagResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UntagResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API UntagStreamRequest : public KinesisVideoRequest
{
public:
UntagStreamRequest();
// 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 "UntagStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline UntagStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline UntagStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream that you want to remove tags
* from.</p>
*/
inline UntagStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline UntagStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline UntagStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream that you want to remove tags from.</p>
*/
inline UntagStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline const Aws::Vector<Aws::String>& GetTagKeyList() const{ return m_tagKeyList; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline bool TagKeyListHasBeenSet() const { return m_tagKeyListHasBeenSet; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline void SetTagKeyList(const Aws::Vector<Aws::String>& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList = value; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline void SetTagKeyList(Aws::Vector<Aws::String>&& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList = std::move(value); }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagStreamRequest& WithTagKeyList(const Aws::Vector<Aws::String>& value) { SetTagKeyList(value); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagStreamRequest& WithTagKeyList(Aws::Vector<Aws::String>&& value) { SetTagKeyList(std::move(value)); return *this;}
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagStreamRequest& AddTagKeyList(const Aws::String& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(value); return *this; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagStreamRequest& AddTagKeyList(Aws::String&& value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(std::move(value)); return *this; }
/**
* <p>A list of the keys of the tags that you want to remove.</p>
*/
inline UntagStreamRequest& AddTagKeyList(const char* value) { m_tagKeyListHasBeenSet = true; m_tagKeyList.push_back(value); return *this; }
private:
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::Vector<Aws::String> m_tagKeyList;
bool m_tagKeyListHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API UntagStreamResult
{
public:
UntagStreamResult();
UntagStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UntagStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
enum class UpdateDataRetentionOperation
{
NOT_SET,
INCREASE_DATA_RETENTION,
DECREASE_DATA_RETENTION
};
namespace UpdateDataRetentionOperationMapper
{
AWS_KINESISVIDEO_API UpdateDataRetentionOperation GetUpdateDataRetentionOperationForName(const Aws::String& name);
AWS_KINESISVIDEO_API Aws::String GetNameForUpdateDataRetentionOperation(UpdateDataRetentionOperation value);
} // namespace UpdateDataRetentionOperationMapper
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,258 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/UpdateDataRetentionOperation.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API UpdateDataRetentionRequest : public KinesisVideoRequest
{
public:
UpdateDataRetentionRequest();
// 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 "UpdateDataRetention"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream whose retention period you want to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the stream whose retention period you want
* to change.</p>
*/
inline UpdateDataRetentionRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline UpdateDataRetentionRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline UpdateDataRetentionRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
/**
* <p>The version of the stream whose retention period you want to change. To get
* the version, call either the <code>DescribeStream</code> or the
* <code>ListStreams</code> API.</p>
*/
inline UpdateDataRetentionRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline const UpdateDataRetentionOperation& GetOperation() const{ return m_operation; }
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline void SetOperation(const UpdateDataRetentionOperation& value) { m_operationHasBeenSet = true; m_operation = value; }
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline void SetOperation(UpdateDataRetentionOperation&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline UpdateDataRetentionRequest& WithOperation(const UpdateDataRetentionOperation& value) { SetOperation(value); return *this;}
/**
* <p>Indicates whether you want to increase or decrease the retention period.</p>
*/
inline UpdateDataRetentionRequest& WithOperation(UpdateDataRetentionOperation&& value) { SetOperation(std::move(value)); return *this;}
/**
* <p>The retention period, in hours. The value you specify replaces the current
* value. The maximum value for this parameter is 87600 (ten years).</p>
*/
inline int GetDataRetentionChangeInHours() const{ return m_dataRetentionChangeInHours; }
/**
* <p>The retention period, in hours. The value you specify replaces the current
* value. The maximum value for this parameter is 87600 (ten years).</p>
*/
inline bool DataRetentionChangeInHoursHasBeenSet() const { return m_dataRetentionChangeInHoursHasBeenSet; }
/**
* <p>The retention period, in hours. The value you specify replaces the current
* value. The maximum value for this parameter is 87600 (ten years).</p>
*/
inline void SetDataRetentionChangeInHours(int value) { m_dataRetentionChangeInHoursHasBeenSet = true; m_dataRetentionChangeInHours = value; }
/**
* <p>The retention period, in hours. The value you specify replaces the current
* value. The maximum value for this parameter is 87600 (ten years).</p>
*/
inline UpdateDataRetentionRequest& WithDataRetentionChangeInHours(int value) { SetDataRetentionChangeInHours(value); return *this;}
private:
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_currentVersion;
bool m_currentVersionHasBeenSet;
UpdateDataRetentionOperation m_operation;
bool m_operationHasBeenSet;
int m_dataRetentionChangeInHours;
bool m_dataRetentionChangeInHoursHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API UpdateDataRetentionResult
{
public:
UpdateDataRetentionResult();
UpdateDataRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateDataRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisvideo/model/SingleMasterConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API UpdateSignalingChannelRequest : public KinesisVideoRequest
{
public:
UpdateSignalingChannelRequest();
// 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 "UpdateSignalingChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline const Aws::String& GetChannelARN() const{ return m_channelARN; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline UpdateSignalingChannelRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline UpdateSignalingChannelRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the signaling channel that you want to
* update.</p>
*/
inline UpdateSignalingChannelRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline UpdateSignalingChannelRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline UpdateSignalingChannelRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
/**
* <p>The current version of the signaling channel that you want to update.</p>
*/
inline UpdateSignalingChannelRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline const SingleMasterConfiguration& GetSingleMasterConfiguration() const{ return m_singleMasterConfiguration; }
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline bool SingleMasterConfigurationHasBeenSet() const { return m_singleMasterConfigurationHasBeenSet; }
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline void SetSingleMasterConfiguration(const SingleMasterConfiguration& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = value; }
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline void SetSingleMasterConfiguration(SingleMasterConfiguration&& value) { m_singleMasterConfigurationHasBeenSet = true; m_singleMasterConfiguration = std::move(value); }
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline UpdateSignalingChannelRequest& WithSingleMasterConfiguration(const SingleMasterConfiguration& value) { SetSingleMasterConfiguration(value); return *this;}
/**
* <p>The structure containing the configuration for the <code>SINGLE_MASTER</code>
* type of the signaling channel that you want to update. </p>
*/
inline UpdateSignalingChannelRequest& WithSingleMasterConfiguration(SingleMasterConfiguration&& value) { SetSingleMasterConfiguration(std::move(value)); return *this;}
private:
Aws::String m_channelARN;
bool m_channelARNHasBeenSet;
Aws::String m_currentVersion;
bool m_currentVersionHasBeenSet;
SingleMasterConfiguration m_singleMasterConfiguration;
bool m_singleMasterConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API UpdateSignalingChannelResult
{
public:
UpdateSignalingChannelResult();
UpdateSignalingChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateSignalingChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws

View File

@@ -0,0 +1,355 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
#include <aws/kinesisvideo/KinesisVideoRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisVideo
{
namespace Model
{
/**
*/
class AWS_KINESISVIDEO_API UpdateStreamRequest : public KinesisVideoRequest
{
public:
UpdateStreamRequest();
// 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 "UpdateStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline const Aws::String& GetStreamName() const{ return m_streamName; }
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline UpdateStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline UpdateStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
/**
* <p>The name of the stream whose metadata you want to update.</p> <p>The stream
* name is an identifier for the stream, and must be unique for each account and
* region.</p>
*/
inline UpdateStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
/**
* <p>The ARN of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
/**
* <p>The version of the stream whose metadata you want to update.</p>
*/
inline UpdateStreamRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline UpdateStreamRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline UpdateStreamRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
/**
* <p>The name of the device that is writing to the stream. </p> <p> In the
* current implementation, Kinesis Video Streams does not use this name. </p>
*
*/
inline UpdateStreamRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline const Aws::String& GetMediaType() const{ return m_mediaType; }
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline UpdateStreamRequest& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline UpdateStreamRequest& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
/**
* <p>The stream's media type. Use <code>MediaType</code> to specify the type of
* content that the stream contains to the consumers of the stream. For more
* information about media types, see <a
* href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media
* Types</a>. If you choose to specify the <code>MediaType</code>, see <a
* href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming
* Requirements</a>.</p> <p>To play video on the console, you must specify the
* correct video type. For example, if the video in the stream is H.264, specify
* <code>video/h264</code> as the <code>MediaType</code>.</p>
*/
inline UpdateStreamRequest& WithMediaType(const char* value) { SetMediaType(value); return *this;}
private:
Aws::String m_streamName;
bool m_streamNameHasBeenSet;
Aws::String m_streamARN;
bool m_streamARNHasBeenSet;
Aws::String m_currentVersion;
bool m_currentVersionHasBeenSet;
Aws::String m_deviceName;
bool m_deviceNameHasBeenSet;
Aws::String m_mediaType;
bool m_mediaTypeHasBeenSet;
};
} // namespace Model
} // namespace KinesisVideo
} // 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/kinesisvideo/KinesisVideo_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisVideo
{
namespace Model
{
class AWS_KINESISVIDEO_API UpdateStreamResult
{
public:
UpdateStreamResult();
UpdateStreamResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateStreamResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisVideo
} // namespace Aws