/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class UpdateDimensionResult { public: AWS_IOT_API UpdateDimensionResult(); AWS_IOT_API UpdateDimensionResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API UpdateDimensionResult& 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 UpdateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A unique identifier for the dimension.

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

A unique identifier for the dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

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

The Amazon Resource Name (ARN)of the created dimension.

*/ inline UpdateDimensionResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The type of the dimension.

*/ inline const DimensionType& GetType() const{ return m_type; } /** *

The type of the dimension.

*/ inline void SetType(const DimensionType& value) { m_type = value; } /** *

The type of the dimension.

*/ inline void SetType(DimensionType&& value) { m_type = std::move(value); } /** *

The type of the dimension.

*/ inline UpdateDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;} /** *

The type of the dimension.

*/ inline UpdateDimensionResult& WithType(DimensionType&& value) { SetType(std::move(value)); return *this;} /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline const Aws::Vector& GetStringValues() const{ return m_stringValues; } /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline void SetStringValues(const Aws::Vector& value) { m_stringValues = value; } /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline void SetStringValues(Aws::Vector&& value) { m_stringValues = std::move(value); } /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline UpdateDimensionResult& WithStringValues(const Aws::Vector& value) { SetStringValues(value); return *this;} /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline UpdateDimensionResult& WithStringValues(Aws::Vector&& value) { SetStringValues(std::move(value)); return *this;} /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline UpdateDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; } /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline UpdateDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; } /** *

The value or list of values used to scope the dimension. For example, for * topic filters, this is the pattern used to match the MQTT topic name.

*/ inline UpdateDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; } /** *

The date and time, in milliseconds since epoch, when the dimension was * initially created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date and time, in milliseconds since epoch, when the dimension was * initially created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The date and time, in milliseconds since epoch, when the dimension was * initially created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); } /** *

The date and time, in milliseconds since epoch, when the dimension was * initially created.

*/ inline UpdateDimensionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date and time, in milliseconds since epoch, when the dimension was * initially created.

*/ inline UpdateDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date and time, in milliseconds since epoch, when the dimension was most * recently updated.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The date and time, in milliseconds since epoch, when the dimension was most * recently updated.

*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } /** *

The date and time, in milliseconds since epoch, when the dimension was most * recently updated.

*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); } /** *

The date and time, in milliseconds since epoch, when the dimension was most * recently updated.

*/ inline UpdateDimensionResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The date and time, in milliseconds since epoch, when the dimension was most * recently updated.

*/ inline UpdateDimensionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(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 UpdateDimensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDimensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDimensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_arn; DimensionType m_type; Aws::Vector m_stringValues; Aws::Utils::DateTime m_creationDate; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws