AWS SDK for C++  1.9.129
AWS SDK for C++
CreateProvisioningTemplateVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
39 
43  inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
44 
48  inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
49 
53  inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
54 
58  inline CreateProvisioningTemplateVersionResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
59 
63  inline CreateProvisioningTemplateVersionResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
64 
68  inline CreateProvisioningTemplateVersionResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
75 
79  inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
80 
84  inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
85 
89  inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
90 
94  inline CreateProvisioningTemplateVersionResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
95 
99  inline CreateProvisioningTemplateVersionResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
100 
104  inline CreateProvisioningTemplateVersionResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
105 
106 
110  inline int GetVersionId() const{ return m_versionId; }
111 
115  inline void SetVersionId(int value) { m_versionId = value; }
116 
120  inline CreateProvisioningTemplateVersionResult& WithVersionId(int value) { SetVersionId(value); return *this;}
121 
122 
127  inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
128 
133  inline void SetIsDefaultVersion(bool value) { m_isDefaultVersion = value; }
134 
139  inline CreateProvisioningTemplateVersionResult& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;}
140 
141  private:
142 
143  Aws::String m_templateArn;
144 
145  Aws::String m_templateName;
146 
147  int m_versionId;
148 
149  bool m_isDefaultVersion;
150  };
151 
152 } // namespace Model
153 } // namespace IoT
154 } // namespace Aws
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithVersionId
CreateProvisioningTemplateVersionResult & WithVersionId(int value)
Definition: CreateProvisioningTemplateVersionResult.h:120
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateProvisioningTemplateVersionResult
Definition: CreateProvisioningTemplateVersionResult.h:28
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateArn
void SetTemplateArn(Aws::String &&value)
Definition: CreateProvisioningTemplateVersionResult.h:48
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateName
CreateProvisioningTemplateVersionResult & WithTemplateName(const Aws::String &value)
Definition: CreateProvisioningTemplateVersionResult.h:94
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::operator=
CreateProvisioningTemplateVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetIsDefaultVersion
void SetIsDefaultVersion(bool value)
Definition: CreateProvisioningTemplateVersionResult.h:133
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateName
CreateProvisioningTemplateVersionResult & WithTemplateName(const char *value)
Definition: CreateProvisioningTemplateVersionResult.h:104
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::CreateProvisioningTemplateVersionResult
CreateProvisioningTemplateVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::GetIsDefaultVersion
bool GetIsDefaultVersion() const
Definition: CreateProvisioningTemplateVersionResult.h:127
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CreateProvisioningTemplateVersionResult.h:74
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateArn
void SetTemplateArn(const char *value)
Definition: CreateProvisioningTemplateVersionResult.h:53
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateArn
CreateProvisioningTemplateVersionResult & WithTemplateArn(Aws::String &&value)
Definition: CreateProvisioningTemplateVersionResult.h:63
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::GetTemplateArn
const Aws::String & GetTemplateArn() const
Definition: CreateProvisioningTemplateVersionResult.h:38
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::CreateProvisioningTemplateVersionResult
CreateProvisioningTemplateVersionResult()
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithIsDefaultVersion
CreateProvisioningTemplateVersionResult & WithIsDefaultVersion(bool value)
Definition: CreateProvisioningTemplateVersionResult.h:139
AWSString.h
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateArn
void SetTemplateArn(const Aws::String &value)
Definition: CreateProvisioningTemplateVersionResult.h:43
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateArn
CreateProvisioningTemplateVersionResult & WithTemplateArn(const char *value)
Definition: CreateProvisioningTemplateVersionResult.h:68
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CreateProvisioningTemplateVersionResult.h:84
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateName
void SetTemplateName(const char *value)
Definition: CreateProvisioningTemplateVersionResult.h:89
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateName
CreateProvisioningTemplateVersionResult & WithTemplateName(Aws::String &&value)
Definition: CreateProvisioningTemplateVersionResult.h:99
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CreateProvisioningTemplateVersionResult.h:79
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::WithTemplateArn
CreateProvisioningTemplateVersionResult & WithTemplateArn(const Aws::String &value)
Definition: CreateProvisioningTemplateVersionResult.h:58
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::GetVersionId
int GetVersionId() const
Definition: CreateProvisioningTemplateVersionResult.h:110
IoT_EXPORTS.h
Aws::IoT::Model::CreateProvisioningTemplateVersionResult::SetVersionId
void SetVersionId(int value)
Definition: CreateProvisioningTemplateVersionResult.h:115