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

A unique identifier for the dimension.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A unique identifier for the dimension.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

A unique identifier for the dimension.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

A unique identifier for the dimension.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

A unique identifier for the dimension.

*/ inline CreateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A unique identifier for the dimension.

*/ inline CreateDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A unique identifier for the dimension.

*/ inline CreateDimensionResult& WithName(const char* value) { SetName(value); return *this;} /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline CreateDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline CreateDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN (Amazon resource name) of the created dimension.

*/ inline CreateDimensionResult& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_name; Aws::String m_arn; }; } // namespace Model } // namespace IoT } // namespace Aws