AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterThingResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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:
31 AWS_IOT_API RegisterThingResult();
34
35
37
40 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
41 inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
42 inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
43 inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
44 inline RegisterThingResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
45 inline RegisterThingResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
46 inline RegisterThingResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetResourceArns() const{ return m_resourceArns; }
54 inline void SetResourceArns(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceArns = value; }
55 inline void SetResourceArns(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceArns = std::move(value); }
58 inline RegisterThingResult& AddResourceArns(const Aws::String& key, const Aws::String& value) { m_resourceArns.emplace(key, value); return *this; }
59 inline RegisterThingResult& AddResourceArns(Aws::String&& key, const Aws::String& value) { m_resourceArns.emplace(std::move(key), value); return *this; }
60 inline RegisterThingResult& AddResourceArns(const Aws::String& key, Aws::String&& value) { m_resourceArns.emplace(key, std::move(value)); return *this; }
61 inline RegisterThingResult& AddResourceArns(Aws::String&& key, Aws::String&& value) { m_resourceArns.emplace(std::move(key), std::move(value)); return *this; }
62 inline RegisterThingResult& AddResourceArns(const char* key, Aws::String&& value) { m_resourceArns.emplace(key, std::move(value)); return *this; }
63 inline RegisterThingResult& AddResourceArns(Aws::String&& key, const char* value) { m_resourceArns.emplace(std::move(key), value); return *this; }
64 inline RegisterThingResult& AddResourceArns(const char* key, const char* value) { m_resourceArns.emplace(key, value); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline RegisterThingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline RegisterThingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline RegisterThingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_certificatePem;
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace IoT
88} // namespace Aws
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
RegisterThingResult & WithRequestId(const char *value)
AWS_IOT_API RegisterThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceArns(const Aws::Map< Aws::String, Aws::String > &value)
RegisterThingResult & WithResourceArns(Aws::Map< Aws::String, Aws::String > &&value)
void SetCertificatePem(Aws::String &&value)
RegisterThingResult & WithRequestId(const Aws::String &value)
void SetResourceArns(Aws::Map< Aws::String, Aws::String > &&value)
void SetCertificatePem(const Aws::String &value)
RegisterThingResult & AddResourceArns(Aws::String &&key, Aws::String &&value)
AWS_IOT_API RegisterThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterThingResult & AddResourceArns(const char *key, Aws::String &&value)
RegisterThingResult & AddResourceArns(Aws::String &&key, const char *value)
RegisterThingResult & WithCertificatePem(const Aws::String &value)
const Aws::String & GetCertificatePem() const
RegisterThingResult & WithResourceArns(const Aws::Map< Aws::String, Aws::String > &value)
RegisterThingResult & WithCertificatePem(const char *value)
RegisterThingResult & AddResourceArns(const Aws::String &key, const Aws::String &value)
RegisterThingResult & AddResourceArns(const char *key, const char *value)
RegisterThingResult & WithCertificatePem(Aws::String &&value)
RegisterThingResult & AddResourceArns(Aws::String &&key, const Aws::String &value)
RegisterThingResult & WithRequestId(Aws::String &&value)
RegisterThingResult & AddResourceArns(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResourceArns() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue