AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeProvisioningTemplateVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline int GetVersionId() const{ return m_versionId; }
40 
44  inline void SetVersionId(int value) { m_versionId = value; }
45 
49  inline DescribeProvisioningTemplateVersionResult& WithVersionId(int value) { SetVersionId(value); return *this;}
50 
51 
55  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
56 
60  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
61 
65  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
66 
70  inline DescribeProvisioningTemplateVersionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
71 
75  inline DescribeProvisioningTemplateVersionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
76 
77 
81  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
82 
86  inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
87 
91  inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
92 
96  inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
97 
101  inline DescribeProvisioningTemplateVersionResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
102 
106  inline DescribeProvisioningTemplateVersionResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
107 
111  inline DescribeProvisioningTemplateVersionResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
112 
113 
117  inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
118 
122  inline void SetIsDefaultVersion(bool value) { m_isDefaultVersion = value; }
123 
127  inline DescribeProvisioningTemplateVersionResult& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;}
128 
129  private:
130 
131  int m_versionId;
132 
133  Aws::Utils::DateTime m_creationDate;
134 
135  Aws::String m_templateBody;
136 
137  bool m_isDefaultVersion;
138  };
139 
140 } // namespace Model
141 } // namespace IoT
142 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult
Definition: DescribeProvisioningTemplateVersionResult.h:29
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithCreationDate
DescribeProvisioningTemplateVersionResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateVersionResult.h:75
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeProvisioningTemplateVersionResult.h:55
DateTime.h
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::GetIsDefaultVersion
bool GetIsDefaultVersion() const
Definition: DescribeProvisioningTemplateVersionResult.h:117
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::DescribeProvisioningTemplateVersionResult
DescribeProvisioningTemplateVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetVersionId
void SetVersionId(int value)
Definition: DescribeProvisioningTemplateVersionResult.h:44
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::GetTemplateBody
const Aws::String & GetTemplateBody() const
Definition: DescribeProvisioningTemplateVersionResult.h:81
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithTemplateBody
DescribeProvisioningTemplateVersionResult & WithTemplateBody(const char *value)
Definition: DescribeProvisioningTemplateVersionResult.h:111
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetTemplateBody
void SetTemplateBody(Aws::String &&value)
Definition: DescribeProvisioningTemplateVersionResult.h:91
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithVersionId
DescribeProvisioningTemplateVersionResult & WithVersionId(int value)
Definition: DescribeProvisioningTemplateVersionResult.h:49
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithTemplateBody
DescribeProvisioningTemplateVersionResult & WithTemplateBody(const Aws::String &value)
Definition: DescribeProvisioningTemplateVersionResult.h:101
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithTemplateBody
DescribeProvisioningTemplateVersionResult & WithTemplateBody(Aws::String &&value)
Definition: DescribeProvisioningTemplateVersionResult.h:106
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetTemplateBody
void SetTemplateBody(const Aws::String &value)
Definition: DescribeProvisioningTemplateVersionResult.h:86
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::operator=
DescribeProvisioningTemplateVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::GetVersionId
int GetVersionId() const
Definition: DescribeProvisioningTemplateVersionResult.h:39
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::DescribeProvisioningTemplateVersionResult
DescribeProvisioningTemplateVersionResult()
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetTemplateBody
void SetTemplateBody(const char *value)
Definition: DescribeProvisioningTemplateVersionResult.h:96
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeProvisioningTemplateVersionResult.h:65
AWSString.h
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateVersionResult.h:60
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::WithCreationDate
DescribeProvisioningTemplateVersionResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeProvisioningTemplateVersionResult.h:70
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::DescribeProvisioningTemplateVersionResult::WithIsDefaultVersion
DescribeProvisioningTemplateVersionResult & WithIsDefaultVersion(bool value)
Definition: DescribeProvisioningTemplateVersionResult.h:127
Aws::IoT::Model::DescribeProvisioningTemplateVersionResult::SetIsDefaultVersion
void SetIsDefaultVersion(bool value)
Definition: DescribeProvisioningTemplateVersionResult.h:122
IoT_EXPORTS.h