AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProvisioningTemplateVersionResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
40 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
41 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
42 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
44 inline CreateProvisioningTemplateVersionResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
45 inline CreateProvisioningTemplateVersionResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
47
49
52 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
53 inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
54 inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
55 inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
57 inline CreateProvisioningTemplateVersionResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
58 inline CreateProvisioningTemplateVersionResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
60
62
65 inline int GetVersionId() const{ return m_versionId; }
66 inline void SetVersionId(int value) { m_versionId = value; }
67 inline CreateProvisioningTemplateVersionResult& WithVersionId(int value) { SetVersionId(value); return *this;}
69
71
75 inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
76 inline void SetIsDefaultVersion(bool value) { m_isDefaultVersion = value; }
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline CreateProvisioningTemplateVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline CreateProvisioningTemplateVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_templateArn;
93
94 Aws::String m_templateName;
95
96 int m_versionId;
97
98 bool m_isDefaultVersion;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
CreateProvisioningTemplateVersionResult & WithTemplateArn(const Aws::String &value)
CreateProvisioningTemplateVersionResult & WithTemplateArn(const char *value)
CreateProvisioningTemplateVersionResult & WithRequestId(const char *value)
CreateProvisioningTemplateVersionResult & WithTemplateName(const char *value)
CreateProvisioningTemplateVersionResult & WithRequestId(const Aws::String &value)
CreateProvisioningTemplateVersionResult & WithTemplateName(const Aws::String &value)
CreateProvisioningTemplateVersionResult & WithTemplateName(Aws::String &&value)
AWS_IOT_API CreateProvisioningTemplateVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningTemplateVersionResult & WithIsDefaultVersion(bool value)
CreateProvisioningTemplateVersionResult & WithTemplateArn(Aws::String &&value)
CreateProvisioningTemplateVersionResult & WithRequestId(Aws::String &&value)
AWS_IOT_API CreateProvisioningTemplateVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningTemplateVersionResult & WithVersionId(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue