/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MediaStore { namespace Model { class CreateContainerResult { public: AWS_MEDIASTORE_API CreateContainerResult(); AWS_MEDIASTORE_API CreateContainerResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIASTORE_API CreateContainerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

ContainerARN: The Amazon Resource Name (ARN) of the newly created container. * The ARN has the following format: arn:aws:<region>:<account that owns * this container>:container/<name of container>. For example: * arn:aws:mediastore:us-west-2:111122223333:container/movies

*

ContainerName: The container name as specified in the request.

*

CreationTime: Unix time stamp.

Status: The status of container * creation or deletion. The status is one of the following: CREATING, * ACTIVE, or DELETING. While the service is creating the * container, the status is CREATING. When an endpoint is available, * the status changes to ACTIVE.

The return value does not * include the container's endpoint. To make downstream requests, you must obtain * this value by using DescribeContainer or ListContainers.

*/ inline const Container& GetContainer() const{ return m_container; } /** *

ContainerARN: The Amazon Resource Name (ARN) of the newly created container. * The ARN has the following format: arn:aws:<region>:<account that owns * this container>:container/<name of container>. For example: * arn:aws:mediastore:us-west-2:111122223333:container/movies

*

ContainerName: The container name as specified in the request.

*

CreationTime: Unix time stamp.

Status: The status of container * creation or deletion. The status is one of the following: CREATING, * ACTIVE, or DELETING. While the service is creating the * container, the status is CREATING. When an endpoint is available, * the status changes to ACTIVE.

The return value does not * include the container's endpoint. To make downstream requests, you must obtain * this value by using DescribeContainer or ListContainers.

*/ inline void SetContainer(const Container& value) { m_container = value; } /** *

ContainerARN: The Amazon Resource Name (ARN) of the newly created container. * The ARN has the following format: arn:aws:<region>:<account that owns * this container>:container/<name of container>. For example: * arn:aws:mediastore:us-west-2:111122223333:container/movies

*

ContainerName: The container name as specified in the request.

*

CreationTime: Unix time stamp.

Status: The status of container * creation or deletion. The status is one of the following: CREATING, * ACTIVE, or DELETING. While the service is creating the * container, the status is CREATING. When an endpoint is available, * the status changes to ACTIVE.

The return value does not * include the container's endpoint. To make downstream requests, you must obtain * this value by using DescribeContainer or ListContainers.

*/ inline void SetContainer(Container&& value) { m_container = std::move(value); } /** *

ContainerARN: The Amazon Resource Name (ARN) of the newly created container. * The ARN has the following format: arn:aws:<region>:<account that owns * this container>:container/<name of container>. For example: * arn:aws:mediastore:us-west-2:111122223333:container/movies

*

ContainerName: The container name as specified in the request.

*

CreationTime: Unix time stamp.

Status: The status of container * creation or deletion. The status is one of the following: CREATING, * ACTIVE, or DELETING. While the service is creating the * container, the status is CREATING. When an endpoint is available, * the status changes to ACTIVE.

The return value does not * include the container's endpoint. To make downstream requests, you must obtain * this value by using DescribeContainer or ListContainers.

*/ inline CreateContainerResult& WithContainer(const Container& value) { SetContainer(value); return *this;} /** *

ContainerARN: The Amazon Resource Name (ARN) of the newly created container. * The ARN has the following format: arn:aws:<region>:<account that owns * this container>:container/<name of container>. For example: * arn:aws:mediastore:us-west-2:111122223333:container/movies

*

ContainerName: The container name as specified in the request.

*

CreationTime: Unix time stamp.

Status: The status of container * creation or deletion. The status is one of the following: CREATING, * ACTIVE, or DELETING. While the service is creating the * container, the status is CREATING. When an endpoint is available, * the status changes to ACTIVE.

The return value does not * include the container's endpoint. To make downstream requests, you must obtain * this value by using DescribeContainer or ListContainers.

*/ inline CreateContainerResult& WithContainer(Container&& value) { SetContainer(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateContainerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateContainerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateContainerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Container m_container; Aws::String m_requestId; }; } // namespace Model } // namespace MediaStore } // namespace Aws