AWS SDK for C++  1.9.132
AWS SDK for C++
RegisterCACertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
45 
49  inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
50 
54  inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
55 
59  inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
60 
64  inline RegisterCACertificateResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
65 
69  inline RegisterCACertificateResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
70 
74  inline RegisterCACertificateResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
75 
76 
80  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
81 
85  inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
86 
90  inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
91 
95  inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
96 
100  inline RegisterCACertificateResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
101 
105  inline RegisterCACertificateResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
106 
110  inline RegisterCACertificateResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
111 
112  private:
113 
114  Aws::String m_certificateArn;
115 
116  Aws::String m_certificateId;
117  };
118 
119 } // namespace Model
120 } // namespace IoT
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::RegisterCACertificateResult::operator=
RegisterCACertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::RegisterCACertificateResult
Definition: RegisterCACertificateResult.h:34
Aws::IoT::Model::RegisterCACertificateResult::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: RegisterCACertificateResult.h:59
Aws::IoT::Model::RegisterCACertificateResult::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: RegisterCACertificateResult.h:80
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateArn
RegisterCACertificateResult & WithCertificateArn(Aws::String &&value)
Definition: RegisterCACertificateResult.h:69
Aws::IoT::Model::RegisterCACertificateResult::RegisterCACertificateResult
RegisterCACertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateId
RegisterCACertificateResult & WithCertificateId(Aws::String &&value)
Definition: RegisterCACertificateResult.h:105
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateId
RegisterCACertificateResult & WithCertificateId(const Aws::String &value)
Definition: RegisterCACertificateResult.h:100
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateId
RegisterCACertificateResult & WithCertificateId(const char *value)
Definition: RegisterCACertificateResult.h:110
Aws::IoT::Model::RegisterCACertificateResult::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: RegisterCACertificateResult.h:49
AWSString.h
Aws::IoT::Model::RegisterCACertificateResult::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: RegisterCACertificateResult.h:54
Aws::IoT::Model::RegisterCACertificateResult::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: RegisterCACertificateResult.h:44
Aws::IoT::Model::RegisterCACertificateResult::SetCertificateId
void SetCertificateId(const char *value)
Definition: RegisterCACertificateResult.h:95
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateArn
RegisterCACertificateResult & WithCertificateArn(const Aws::String &value)
Definition: RegisterCACertificateResult.h:64
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::RegisterCACertificateResult::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: RegisterCACertificateResult.h:90
Aws::IoT::Model::RegisterCACertificateResult::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: RegisterCACertificateResult.h:85
Aws::IoT::Model::RegisterCACertificateResult::WithCertificateArn
RegisterCACertificateResult & WithCertificateArn(const char *value)
Definition: RegisterCACertificateResult.h:74
Aws::IoT::Model::RegisterCACertificateResult::RegisterCACertificateResult
RegisterCACertificateResult()
IoT_EXPORTS.h