AWS SDK for C++  1.9.129
AWS SDK for C++
CreateDimensionResult.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 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetName() const{ return m_name; }
39 
43  inline void SetName(const Aws::String& value) { m_name = value; }
44 
48  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
49 
53  inline void SetName(const char* value) { m_name.assign(value); }
54 
58  inline CreateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 
63  inline CreateDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 
68  inline CreateDimensionResult& WithName(const char* value) { SetName(value); return *this;}
69 
70 
74  inline const Aws::String& GetArn() const{ return m_arn; }
75 
79  inline void SetArn(const Aws::String& value) { m_arn = value; }
80 
84  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
85 
89  inline void SetArn(const char* value) { m_arn.assign(value); }
90 
94  inline CreateDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
95 
99  inline CreateDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
100 
104  inline CreateDimensionResult& WithArn(const char* value) { SetArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_name;
109 
110  Aws::String m_arn;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::IoT::Model::CreateDimensionResult::WithName
CreateDimensionResult & WithName(const Aws::String &value)
Definition: CreateDimensionResult.h:58
Aws::IoT::Model::CreateDimensionResult::WithName
CreateDimensionResult & WithName(const char *value)
Definition: CreateDimensionResult.h:68
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateDimensionResult::operator=
CreateDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateDimensionResult::CreateDimensionResult
CreateDimensionResult()
Aws::IoT::Model::CreateDimensionResult::WithArn
CreateDimensionResult & WithArn(Aws::String &&value)
Definition: CreateDimensionResult.h:99
Aws::IoT::Model::CreateDimensionResult::SetName
void SetName(const Aws::String &value)
Definition: CreateDimensionResult.h:43
Aws::IoT::Model::CreateDimensionResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateDimensionResult.h:79
Aws::IoT::Model::CreateDimensionResult::GetArn
const Aws::String & GetArn() const
Definition: CreateDimensionResult.h:74
Aws::IoT::Model::CreateDimensionResult::GetName
const Aws::String & GetName() const
Definition: CreateDimensionResult.h:38
Aws::IoT::Model::CreateDimensionResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateDimensionResult.h:84
Aws::IoT::Model::CreateDimensionResult::CreateDimensionResult
CreateDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateDimensionResult::SetName
void SetName(Aws::String &&value)
Definition: CreateDimensionResult.h:48
Aws::IoT::Model::CreateDimensionResult::WithArn
CreateDimensionResult & WithArn(const char *value)
Definition: CreateDimensionResult.h:104
AWSString.h
Aws::IoT::Model::CreateDimensionResult
Definition: CreateDimensionResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateDimensionResult::WithName
CreateDimensionResult & WithName(Aws::String &&value)
Definition: CreateDimensionResult.h:63
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::CreateDimensionResult::SetArn
void SetArn(const char *value)
Definition: CreateDimensionResult.h:89
Aws::IoT::Model::CreateDimensionResult::WithArn
CreateDimensionResult & WithArn(const Aws::String &value)
Definition: CreateDimensionResult.h:94
Aws::IoT::Model::CreateDimensionResult::SetName
void SetName(const char *value)
Definition: CreateDimensionResult.h:53
IoT_EXPORTS.h