AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDestinationResult.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 CreateDestinationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 
63  inline CreateDestinationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 
68  inline CreateDestinationResult& WithArn(const char* value) { SetArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetName() const{ return m_name; }
75 
79  inline void SetName(const Aws::String& value) { m_name = value; }
80 
84  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
85 
89  inline void SetName(const char* value) { m_name.assign(value); }
90 
94  inline CreateDestinationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
95 
99  inline CreateDestinationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 
104  inline CreateDestinationResult& WithName(const char* value) { SetName(value); return *this;}
105 
106  private:
107 
108  Aws::String m_arn;
109 
110  Aws::String m_name;
111  };
112 
113 } // namespace Model
114 } // namespace IoTWireless
115 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::CreateDestinationResult::WithArn
CreateDestinationResult & WithArn(const char *value)
Definition: CreateDestinationResult.h:68
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::CreateDestinationResult::WithName
CreateDestinationResult & WithName(const Aws::String &value)
Definition: CreateDestinationResult.h:94
Aws::IoTWireless::Model::CreateDestinationResult::CreateDestinationResult
CreateDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::CreateDestinationResult::SetArn
void SetArn(const char *value)
Definition: CreateDestinationResult.h:53
Aws::IoTWireless::Model::CreateDestinationResult::WithArn
CreateDestinationResult & WithArn(Aws::String &&value)
Definition: CreateDestinationResult.h:63
Aws::IoTWireless::Model::CreateDestinationResult::WithName
CreateDestinationResult & WithName(Aws::String &&value)
Definition: CreateDestinationResult.h:99
Aws::IoTWireless::Model::CreateDestinationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateDestinationResult.h:48
Aws::IoTWireless::Model::CreateDestinationResult::CreateDestinationResult
CreateDestinationResult()
Aws::IoTWireless::Model::CreateDestinationResult::WithArn
CreateDestinationResult & WithArn(const Aws::String &value)
Definition: CreateDestinationResult.h:58
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateDestinationResult::operator=
CreateDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::CreateDestinationResult::SetName
void SetName(const char *value)
Definition: CreateDestinationResult.h:89
Aws::IoTWireless::Model::CreateDestinationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateDestinationResult.h:84
Aws::IoTWireless::Model::CreateDestinationResult::GetName
const Aws::String & GetName() const
Definition: CreateDestinationResult.h:74
Aws::IoTWireless::Model::CreateDestinationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateDestinationResult.h:38
Aws::IoTWireless::Model::CreateDestinationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateDestinationResult.h:43
AWSString.h
Aws::IoTWireless::Model::CreateDestinationResult
Definition: CreateDestinationResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::CreateDestinationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateDestinationResult.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateDestinationResult::WithName
CreateDestinationResult & WithName(const char *value)
Definition: CreateDestinationResult.h:104