134 lines
3.9 KiB
C++
134 lines
3.9 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 <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 CreateProvisioningTemplateResult
|
|
{
|
|
public:
|
|
CreateProvisioningTemplateResult();
|
|
CreateProvisioningTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
CreateProvisioningTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN that identifies the provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline const Aws::String& GetTemplateName() const{ return m_templateName; }
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the fleet provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The default version of the fleet provisioning template.</p>
|
|
*/
|
|
inline int GetDefaultVersionId() const{ return m_defaultVersionId; }
|
|
|
|
/**
|
|
* <p>The default version of the fleet provisioning template.</p>
|
|
*/
|
|
inline void SetDefaultVersionId(int value) { m_defaultVersionId = value; }
|
|
|
|
/**
|
|
* <p>The default version of the fleet provisioning template.</p>
|
|
*/
|
|
inline CreateProvisioningTemplateResult& WithDefaultVersionId(int value) { SetDefaultVersionId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_templateArn;
|
|
|
|
Aws::String m_templateName;
|
|
|
|
int m_defaultVersionId;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoT
|
|
} // namespace Aws
|