AWS SDK for C++  1.9.47
AWS SDK for C++
GetRegistrationCodeResult.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& GetRegistrationCode() const{ return m_registrationCode; }
45 
49  inline void SetRegistrationCode(const Aws::String& value) { m_registrationCode = value; }
50 
54  inline void SetRegistrationCode(Aws::String&& value) { m_registrationCode = std::move(value); }
55 
59  inline void SetRegistrationCode(const char* value) { m_registrationCode.assign(value); }
60 
64  inline GetRegistrationCodeResult& WithRegistrationCode(const Aws::String& value) { SetRegistrationCode(value); return *this;}
65 
69  inline GetRegistrationCodeResult& WithRegistrationCode(Aws::String&& value) { SetRegistrationCode(std::move(value)); return *this;}
70 
74  inline GetRegistrationCodeResult& WithRegistrationCode(const char* value) { SetRegistrationCode(value); return *this;}
75 
76  private:
77 
78  Aws::String m_registrationCode;
79  };
80 
81 } // namespace Model
82 } // namespace IoT
83 } // namespace Aws
Aws::IoT::Model::GetRegistrationCodeResult::SetRegistrationCode
void SetRegistrationCode(Aws::String &&value)
Definition: GetRegistrationCodeResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetRegistrationCodeResult::operator=
GetRegistrationCodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetRegistrationCodeResult::GetRegistrationCodeResult
GetRegistrationCodeResult()
Aws::IoT::Model::GetRegistrationCodeResult::SetRegistrationCode
void SetRegistrationCode(const Aws::String &value)
Definition: GetRegistrationCodeResult.h:49
Aws::IoT::Model::GetRegistrationCodeResult::WithRegistrationCode
GetRegistrationCodeResult & WithRegistrationCode(const char *value)
Definition: GetRegistrationCodeResult.h:74
Aws::IoT::Model::GetRegistrationCodeResult::SetRegistrationCode
void SetRegistrationCode(const char *value)
Definition: GetRegistrationCodeResult.h:59
Aws::IoT::Model::GetRegistrationCodeResult
Definition: GetRegistrationCodeResult.h:34
Aws::IoT::Model::GetRegistrationCodeResult::WithRegistrationCode
GetRegistrationCodeResult & WithRegistrationCode(const Aws::String &value)
Definition: GetRegistrationCodeResult.h:64
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::GetRegistrationCodeResult::GetRegistrationCodeResult
GetRegistrationCodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::GetRegistrationCodeResult::WithRegistrationCode
GetRegistrationCodeResult & WithRegistrationCode(Aws::String &&value)
Definition: GetRegistrationCodeResult.h:69
Aws::IoT::Model::GetRegistrationCodeResult::GetRegistrationCode
const Aws::String & GetRegistrationCode() const
Definition: GetRegistrationCodeResult.h:44
IoT_EXPORTS.h