This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/DescribeDimensionResult.h

254 lines
8.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iot/model/DimensionType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
class AWS_IOT_API DescribeDimensionResult
{
public:
DescribeDimensionResult();
DescribeDimensionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeDimensionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The unique identifier for the dimension.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The unique identifier for the dimension.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The unique identifier for the dimension.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The unique identifier for the dimension.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The unique identifier for the dimension.</p>
*/
inline DescribeDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The unique identifier for the dimension.</p>
*/
inline DescribeDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The unique identifier for the dimension.</p>
*/
inline DescribeDimensionResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline DescribeDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline DescribeDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN (Amazon resource name) for the dimension.</p>
*/
inline DescribeDimensionResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The type of the dimension.</p>
*/
inline const DimensionType& GetType() const{ return m_type; }
/**
* <p>The type of the dimension.</p>
*/
inline void SetType(const DimensionType& value) { m_type = value; }
/**
* <p>The type of the dimension.</p>
*/
inline void SetType(DimensionType&& value) { m_type = std::move(value); }
/**
* <p>The type of the dimension.</p>
*/
inline DescribeDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;}
/**
* <p>The type of the dimension.</p>
*/
inline DescribeDimensionResult& WithType(DimensionType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
/**
* <p>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.</p>
*/
inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValues = value; }
/**
* <p>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.</p>
*/
inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValues = std::move(value); }
/**
* <p>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.</p>
*/
inline DescribeDimensionResult& WithStringValues(const Aws::Vector<Aws::String>& value) { SetStringValues(value); return *this;}
/**
* <p>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.</p>
*/
inline DescribeDimensionResult& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline DescribeDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; }
/**
* <p>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.</p>
*/
inline DescribeDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; }
/**
* <p>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.</p>
*/
inline DescribeDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; }
/**
* <p>The date the dimension was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date the dimension was created.</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
/**
* <p>The date the dimension was created.</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
/**
* <p>The date the dimension was created.</p>
*/
inline DescribeDimensionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date the dimension was created.</p>
*/
inline DescribeDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>The date the dimension was last modified.</p>
*/
inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
/**
* <p>The date the dimension was last modified.</p>
*/
inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
/**
* <p>The date the dimension was last modified.</p>
*/
inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
/**
* <p>The date the dimension was last modified.</p>
*/
inline DescribeDimensionResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
/**
* <p>The date the dimension was last modified.</p>
*/
inline DescribeDimensionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
private:
Aws::String m_name;
Aws::String m_arn;
DimensionType m_type;
Aws::Vector<Aws::String> m_stringValues;
Aws::Utils::DateTime m_creationDate;
Aws::Utils::DateTime m_lastModifiedDate;
};
} // namespace Model
} // namespace IoT
} // namespace Aws