AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDeviceProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 IoTWireless
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetArn() const{ return m_arn; }
39 
43  inline void SetArn(const Aws::String& value) { m_arn = value; }
44 
48  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 
53  inline void SetArn(const char* value) { m_arn.assign(value); }
54 
58  inline CreateDeviceProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 
63  inline CreateDeviceProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 
68  inline CreateDeviceProfileResult& WithArn(const char* value) { SetArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetId() const{ return m_id; }
75 
79  inline void SetId(const Aws::String& value) { m_id = value; }
80 
84  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
85 
89  inline void SetId(const char* value) { m_id.assign(value); }
90 
94  inline CreateDeviceProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;}
95 
99  inline CreateDeviceProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
100 
104  inline CreateDeviceProfileResult& WithId(const char* value) { SetId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_arn;
109 
110  Aws::String m_id;
111  };
112 
113 } // namespace Model
114 } // namespace IoTWireless
115 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::CreateDeviceProfileResult::GetId
const Aws::String & GetId() const
Definition: CreateDeviceProfileResult.h:74
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetId
void SetId(const char *value)
Definition: CreateDeviceProfileResult.h:89
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateDeviceProfileResult.h:43
Aws::IoTWireless::Model::CreateDeviceProfileResult::operator=
CreateDeviceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetId
void SetId(const Aws::String &value)
Definition: CreateDeviceProfileResult.h:79
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithArn
CreateDeviceProfileResult & WithArn(const Aws::String &value)
Definition: CreateDeviceProfileResult.h:58
Aws::IoTWireless::Model::CreateDeviceProfileResult
Definition: CreateDeviceProfileResult.h:28
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateDeviceProfileResult.h:48
Aws::IoTWireless::Model::CreateDeviceProfileResult::CreateDeviceProfileResult
CreateDeviceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetId
void SetId(Aws::String &&value)
Definition: CreateDeviceProfileResult.h:84
AWSString.h
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithArn
CreateDeviceProfileResult & WithArn(const char *value)
Definition: CreateDeviceProfileResult.h:68
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithId
CreateDeviceProfileResult & WithId(const char *value)
Definition: CreateDeviceProfileResult.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::CreateDeviceProfileResult::CreateDeviceProfileResult
CreateDeviceProfileResult()
Aws::IoTWireless::Model::CreateDeviceProfileResult::GetArn
const Aws::String & GetArn() const
Definition: CreateDeviceProfileResult.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithArn
CreateDeviceProfileResult & WithArn(Aws::String &&value)
Definition: CreateDeviceProfileResult.h:63
Aws::IoTWireless::Model::CreateDeviceProfileResult::SetArn
void SetArn(const char *value)
Definition: CreateDeviceProfileResult.h:53
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithId
CreateDeviceProfileResult & WithId(const Aws::String &value)
Definition: CreateDeviceProfileResult.h:94
Aws::IoTWireless::Model::CreateDeviceProfileResult::WithId
CreateDeviceProfileResult & WithId(Aws::String &&value)
Definition: CreateDeviceProfileResult.h:99