AWS SDK for C++  1.9.123
AWS SDK for C++
ListProvisioningTemplatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ProvisioningTemplateSummary>& GetTemplates() const{ return m_templates; }
41 
45  inline void SetTemplates(const Aws::Vector<ProvisioningTemplateSummary>& value) { m_templates = value; }
46 
50  inline void SetTemplates(Aws::Vector<ProvisioningTemplateSummary>&& value) { m_templates = std::move(value); }
51 
55  inline ListProvisioningTemplatesResult& WithTemplates(const Aws::Vector<ProvisioningTemplateSummary>& value) { SetTemplates(value); return *this;}
56 
60  inline ListProvisioningTemplatesResult& WithTemplates(Aws::Vector<ProvisioningTemplateSummary>&& value) { SetTemplates(std::move(value)); return *this;}
61 
65  inline ListProvisioningTemplatesResult& AddTemplates(const ProvisioningTemplateSummary& value) { m_templates.push_back(value); return *this; }
66 
70  inline ListProvisioningTemplatesResult& AddTemplates(ProvisioningTemplateSummary&& value) { m_templates.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListProvisioningTemplatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListProvisioningTemplatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListProvisioningTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace IoT
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListProvisioningTemplatesResult::ListProvisioningTemplatesResult
ListProvisioningTemplatesResult()
Aws::IoT::Model::ListProvisioningTemplatesResult::WithTemplates
ListProvisioningTemplatesResult & WithTemplates(const Aws::Vector< ProvisioningTemplateSummary > &value)
Definition: ListProvisioningTemplatesResult.h:55
Aws::IoT::Model::ListProvisioningTemplatesResult::WithNextToken
ListProvisioningTemplatesResult & WithNextToken(const Aws::String &value)
Definition: ListProvisioningTemplatesResult.h:96
Aws::IoT::Model::ListProvisioningTemplatesResult::AddTemplates
ListProvisioningTemplatesResult & AddTemplates(ProvisioningTemplateSummary &&value)
Definition: ListProvisioningTemplatesResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListProvisioningTemplatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListProvisioningTemplatesResult.h:91
Aws::IoT::Model::ListProvisioningTemplatesResult::SetTemplates
void SetTemplates(const Aws::Vector< ProvisioningTemplateSummary > &value)
Definition: ListProvisioningTemplatesResult.h:45
AWSVector.h
Aws::IoT::Model::ListProvisioningTemplatesResult::operator=
ListProvisioningTemplatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListProvisioningTemplatesResult::ListProvisioningTemplatesResult
ListProvisioningTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ProvisioningTemplateSummary.h
Aws::IoT::Model::ListProvisioningTemplatesResult::SetTemplates
void SetTemplates(Aws::Vector< ProvisioningTemplateSummary > &&value)
Definition: ListProvisioningTemplatesResult.h:50
Aws::IoT::Model::ListProvisioningTemplatesResult::WithNextToken
ListProvisioningTemplatesResult & WithNextToken(const char *value)
Definition: ListProvisioningTemplatesResult.h:106
Aws::IoT::Model::ListProvisioningTemplatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProvisioningTemplatesResult.h:81
AWSString.h
Aws::IoT::Model::ListProvisioningTemplatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProvisioningTemplatesResult.h:76
Aws::IoT::Model::ListProvisioningTemplatesResult::WithTemplates
ListProvisioningTemplatesResult & WithTemplates(Aws::Vector< ProvisioningTemplateSummary > &&value)
Definition: ListProvisioningTemplatesResult.h:60
Aws::IoT::Model::ProvisioningTemplateSummary
Definition: ProvisioningTemplateSummary.h:34
Aws::IoT::Model::ListProvisioningTemplatesResult::AddTemplates
ListProvisioningTemplatesResult & AddTemplates(const ProvisioningTemplateSummary &value)
Definition: ListProvisioningTemplatesResult.h:65
Aws::IoT::Model::ListProvisioningTemplatesResult::WithNextToken
ListProvisioningTemplatesResult & WithNextToken(Aws::String &&value)
Definition: ListProvisioningTemplatesResult.h:101
Aws::IoT::Model::ListProvisioningTemplatesResult::GetTemplates
const Aws::Vector< ProvisioningTemplateSummary > & GetTemplates() const
Definition: ListProvisioningTemplatesResult.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListProvisioningTemplatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProvisioningTemplatesResult.h:86
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::ListProvisioningTemplatesResult
Definition: ListProvisioningTemplatesResult.h:30
IoT_EXPORTS.h