AWS SDK for C++  1.9.123
AWS SDK for C++
CreateProvisioningTemplateResult.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 CreateProvisioningTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
59 
63  inline CreateProvisioningTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
64 
68  inline CreateProvisioningTemplateResult& 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 CreateProvisioningTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
95 
99  inline CreateProvisioningTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
100 
104  inline CreateProvisioningTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
105 
106 
110  inline int GetDefaultVersionId() const{ return m_defaultVersionId; }
111 
115  inline void SetDefaultVersionId(int value) { m_defaultVersionId = value; }
116 
120  inline CreateProvisioningTemplateResult& WithDefaultVersionId(int value) { SetDefaultVersionId(value); return *this;}
121 
122  private:
123 
124  Aws::String m_templateArn;
125 
126  Aws::String m_templateName;
127 
128  int m_defaultVersionId;
129  };
130 
131 } // namespace Model
132 } // namespace IoT
133 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateArn
CreateProvisioningTemplateResult & WithTemplateArn(const char *value)
Definition: CreateProvisioningTemplateResult.h:68
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateName
CreateProvisioningTemplateResult & WithTemplateName(Aws::String &&value)
Definition: CreateProvisioningTemplateResult.h:99
Aws::IoT::Model::CreateProvisioningTemplateResult::operator=
CreateProvisioningTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateProvisioningTemplateResult::CreateProvisioningTemplateResult
CreateProvisioningTemplateResult()
Aws::IoT::Model::CreateProvisioningTemplateResult::GetDefaultVersionId
int GetDefaultVersionId() const
Definition: CreateProvisioningTemplateResult.h:110
Aws::IoT::Model::CreateProvisioningTemplateResult::WithDefaultVersionId
CreateProvisioningTemplateResult & WithDefaultVersionId(int value)
Definition: CreateProvisioningTemplateResult.h:120
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateName
CreateProvisioningTemplateResult & WithTemplateName(const Aws::String &value)
Definition: CreateProvisioningTemplateResult.h:94
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateArn
CreateProvisioningTemplateResult & WithTemplateArn(const Aws::String &value)
Definition: CreateProvisioningTemplateResult.h:58
Aws::IoT::Model::CreateProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(const char *value)
Definition: CreateProvisioningTemplateResult.h:53
Aws::IoT::Model::CreateProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(const Aws::String &value)
Definition: CreateProvisioningTemplateResult.h:43
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateArn
CreateProvisioningTemplateResult & WithTemplateArn(Aws::String &&value)
Definition: CreateProvisioningTemplateResult.h:63
Aws::IoT::Model::CreateProvisioningTemplateResult::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CreateProvisioningTemplateResult.h:84
AWSString.h
Aws::IoT::Model::CreateProvisioningTemplateResult::SetTemplateName
void SetTemplateName(const char *value)
Definition: CreateProvisioningTemplateResult.h:89
Aws::IoT::Model::CreateProvisioningTemplateResult::SetDefaultVersionId
void SetDefaultVersionId(int value)
Definition: CreateProvisioningTemplateResult.h:115
Aws::IoT::Model::CreateProvisioningTemplateResult
Definition: CreateProvisioningTemplateResult.h:28
Aws::IoT::Model::CreateProvisioningTemplateResult::CreateProvisioningTemplateResult
CreateProvisioningTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateProvisioningTemplateResult::GetTemplateArn
const Aws::String & GetTemplateArn() const
Definition: CreateProvisioningTemplateResult.h:38
Aws::IoT::Model::CreateProvisioningTemplateResult::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CreateProvisioningTemplateResult.h:74
Aws::IoT::Model::CreateProvisioningTemplateResult::WithTemplateName
CreateProvisioningTemplateResult & WithTemplateName(const char *value)
Definition: CreateProvisioningTemplateResult.h:104
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::CreateProvisioningTemplateResult::SetTemplateArn
void SetTemplateArn(Aws::String &&value)
Definition: CreateProvisioningTemplateResult.h:48
Aws::IoT::Model::CreateProvisioningTemplateResult::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CreateProvisioningTemplateResult.h:79
IoT_EXPORTS.h