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/CreateDimensionResult.h

116 lines
3.1 KiB
C
Raw Normal View History

/**
* 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 <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 CreateDimensionResult
{
public:
CreateDimensionResult();
CreateDimensionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateDimensionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A unique identifier for the dimension.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>A unique identifier for the dimension.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>A unique identifier for the dimension.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>A unique identifier for the dimension.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>A unique identifier for the dimension.</p>
*/
inline CreateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>A unique identifier for the dimension.</p>
*/
inline CreateDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>A unique identifier for the dimension.</p>
*/
inline CreateDimensionResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline CreateDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
inline CreateDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN (Amazon resource name) of the created dimension.</p>
*/
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