AWS SDK for C++  1.9.132
AWS SDK for C++
RegisterThingResult.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 const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
40 
44  inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
45 
49  inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
50 
54  inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
55 
59  inline RegisterThingResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
60 
64  inline RegisterThingResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
65 
69  inline RegisterThingResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
70 
71 
75  inline const Aws::Map<Aws::String, Aws::String>& GetResourceArns() const{ return m_resourceArns; }
76 
80  inline void SetResourceArns(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceArns = value; }
81 
85  inline void SetResourceArns(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceArns = std::move(value); }
86 
90  inline RegisterThingResult& WithResourceArns(const Aws::Map<Aws::String, Aws::String>& value) { SetResourceArns(value); return *this;}
91 
95  inline RegisterThingResult& WithResourceArns(Aws::Map<Aws::String, Aws::String>&& value) { SetResourceArns(std::move(value)); return *this;}
96 
100  inline RegisterThingResult& AddResourceArns(const Aws::String& key, const Aws::String& value) { m_resourceArns.emplace(key, value); return *this; }
101 
105  inline RegisterThingResult& AddResourceArns(Aws::String&& key, const Aws::String& value) { m_resourceArns.emplace(std::move(key), value); return *this; }
106 
110  inline RegisterThingResult& AddResourceArns(const Aws::String& key, Aws::String&& value) { m_resourceArns.emplace(key, std::move(value)); return *this; }
111 
115  inline RegisterThingResult& AddResourceArns(Aws::String&& key, Aws::String&& value) { m_resourceArns.emplace(std::move(key), std::move(value)); return *this; }
116 
120  inline RegisterThingResult& AddResourceArns(const char* key, Aws::String&& value) { m_resourceArns.emplace(key, std::move(value)); return *this; }
121 
125  inline RegisterThingResult& AddResourceArns(Aws::String&& key, const char* value) { m_resourceArns.emplace(std::move(key), value); return *this; }
126 
130  inline RegisterThingResult& AddResourceArns(const char* key, const char* value) { m_resourceArns.emplace(key, value); return *this; }
131 
132  private:
133 
134  Aws::String m_certificatePem;
135 
136  Aws::Map<Aws::String, Aws::String> m_resourceArns;
137  };
138 
139 } // namespace Model
140 } // namespace IoT
141 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::RegisterThingResult::WithCertificatePem
RegisterThingResult & WithCertificatePem(const Aws::String &value)
Definition: RegisterThingResult.h:59
Aws::IoT::Model::RegisterThingResult::RegisterThingResult
RegisterThingResult()
Aws::IoT::Model::RegisterThingResult::SetResourceArns
void SetResourceArns(Aws::Map< Aws::String, Aws::String > &&value)
Definition: RegisterThingResult.h:85
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(Aws::String &&key, const Aws::String &value)
Definition: RegisterThingResult.h:105
Aws::IoT::Model::RegisterThingResult::GetCertificatePem
const Aws::String & GetCertificatePem() const
Definition: RegisterThingResult.h:39
Aws::IoT::Model::RegisterThingResult::WithCertificatePem
RegisterThingResult & WithCertificatePem(Aws::String &&value)
Definition: RegisterThingResult.h:64
Aws::IoT::Model::RegisterThingResult::RegisterThingResult
RegisterThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(const char *key, const char *value)
Definition: RegisterThingResult.h:130
Aws::IoT::Model::RegisterThingResult::WithResourceArns
RegisterThingResult & WithResourceArns(Aws::Map< Aws::String, Aws::String > &&value)
Definition: RegisterThingResult.h:95
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(const char *key, Aws::String &&value)
Definition: RegisterThingResult.h:120
Aws::IoT::Model::RegisterThingResult::SetCertificatePem
void SetCertificatePem(Aws::String &&value)
Definition: RegisterThingResult.h:49
Aws::IoT::Model::RegisterThingResult::SetCertificatePem
void SetCertificatePem(const Aws::String &value)
Definition: RegisterThingResult.h:44
AWSString.h
Aws::IoT::Model::RegisterThingResult
Definition: RegisterThingResult.h:29
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(const Aws::String &key, Aws::String &&value)
Definition: RegisterThingResult.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(Aws::String &&key, Aws::String &&value)
Definition: RegisterThingResult.h:115
Aws::IoT::Model::RegisterThingResult::operator=
RegisterThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::RegisterThingResult::SetCertificatePem
void SetCertificatePem(const char *value)
Definition: RegisterThingResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(Aws::String &&key, const char *value)
Definition: RegisterThingResult.h:125
Aws::IoT::Model::RegisterThingResult::WithCertificatePem
RegisterThingResult & WithCertificatePem(const char *value)
Definition: RegisterThingResult.h:69
Aws::IoT::Model::RegisterThingResult::AddResourceArns
RegisterThingResult & AddResourceArns(const Aws::String &key, const Aws::String &value)
Definition: RegisterThingResult.h:100
Aws::IoT::Model::RegisterThingResult::WithResourceArns
RegisterThingResult & WithResourceArns(const Aws::Map< Aws::String, Aws::String > &value)
Definition: RegisterThingResult.h:90
Aws::IoT::Model::RegisterThingResult::SetResourceArns
void SetResourceArns(const Aws::Map< Aws::String, Aws::String > &value)
Definition: RegisterThingResult.h:80
Aws::IoT::Model::RegisterThingResult::GetResourceArns
const Aws::Map< Aws::String, Aws::String > & GetResourceArns() const
Definition: RegisterThingResult.h:75
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h