AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeProvisioningTemplateVersionResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline int GetVersionId() const{ return m_versionId; }
41 inline void SetVersionId(int value) { m_versionId = value; }
42 inline DescribeProvisioningTemplateVersionResult& WithVersionId(int value) { SetVersionId(value); return *this;}
44
46
49 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
50 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
51 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
55
57
60 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
61 inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
62 inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
63 inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
66 inline DescribeProvisioningTemplateVersionResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
68
70
73 inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
74 inline void SetIsDefaultVersion(bool value) { m_isDefaultVersion = value; }
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline DescribeProvisioningTemplateVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline DescribeProvisioningTemplateVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 int m_versionId;
91
92 Aws::Utils::DateTime m_creationDate;
93
94 Aws::String m_templateBody;
95
96 bool m_isDefaultVersion;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace IoT
103} // namespace Aws
DescribeProvisioningTemplateVersionResult & WithTemplateBody(const Aws::String &value)
DescribeProvisioningTemplateVersionResult & WithIsDefaultVersion(bool value)
AWS_IOT_API DescribeProvisioningTemplateVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API DescribeProvisioningTemplateVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProvisioningTemplateVersionResult & WithRequestId(Aws::String &&value)
DescribeProvisioningTemplateVersionResult & WithTemplateBody(const char *value)
DescribeProvisioningTemplateVersionResult & WithRequestId(const char *value)
DescribeProvisioningTemplateVersionResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeProvisioningTemplateVersionResult & WithTemplateBody(Aws::String &&value)
DescribeProvisioningTemplateVersionResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeProvisioningTemplateVersionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue