AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProvisioningTemplateResult.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); }
43 inline CreateProvisioningTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
44 inline CreateProvisioningTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
45 inline CreateProvisioningTemplateResult& 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 CreateProvisioningTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
58 inline CreateProvisioningTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
60
62
65 inline int GetDefaultVersionId() const{ return m_defaultVersionId; }
66 inline void SetDefaultVersionId(int value) { m_defaultVersionId = value; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreateProvisioningTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreateProvisioningTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreateProvisioningTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_templateArn;
83
84 Aws::String m_templateName;
85
86 int m_defaultVersionId;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace IoT
93} // namespace Aws
CreateProvisioningTemplateResult & WithTemplateName(const Aws::String &value)
CreateProvisioningTemplateResult & WithRequestId(Aws::String &&value)
CreateProvisioningTemplateResult & WithDefaultVersionId(int value)
CreateProvisioningTemplateResult & WithTemplateArn(const char *value)
CreateProvisioningTemplateResult & WithTemplateName(const char *value)
CreateProvisioningTemplateResult & WithTemplateArn(Aws::String &&value)
AWS_IOT_API CreateProvisioningTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API CreateProvisioningTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningTemplateResult & WithRequestId(const char *value)
CreateProvisioningTemplateResult & WithRequestId(const Aws::String &value)
CreateProvisioningTemplateResult & WithTemplateArn(const Aws::String &value)
CreateProvisioningTemplateResult & WithTemplateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue