AWS SDK for C++  1.9.158
AWS SDK for C++
CreateInstanceResult.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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetId() const{ return m_id; }
39 
43  inline void SetId(const Aws::String& value) { m_id = value; }
44 
48  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
49 
53  inline void SetId(const char* value) { m_id.assign(value); }
54 
58  inline CreateInstanceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 
63  inline CreateInstanceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 
68  inline CreateInstanceResult& WithId(const char* value) { SetId(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 CreateInstanceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
95 
99  inline CreateInstanceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
100 
104  inline CreateInstanceResult& WithArn(const char* value) { SetArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_id;
109 
110  Aws::String m_arn;
111  };
112 
113 } // namespace Model
114 } // namespace Connect
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::CreateInstanceResult
Definition: CreateInstanceResult.h:28
Aws::Connect::Model::CreateInstanceResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateInstanceResult.h:84
Aws::Connect::Model::CreateInstanceResult::WithId
CreateInstanceResult & WithId(Aws::String &&value)
Definition: CreateInstanceResult.h:63
Aws::Connect::Model::CreateInstanceResult::CreateInstanceResult
CreateInstanceResult()
Aws::Connect::Model::CreateInstanceResult::GetId
const Aws::String & GetId() const
Definition: CreateInstanceResult.h:38
Aws::Connect::Model::CreateInstanceResult::WithArn
CreateInstanceResult & WithArn(const Aws::String &value)
Definition: CreateInstanceResult.h:94
Aws::Connect::Model::CreateInstanceResult::operator=
CreateInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateInstanceResult::WithId
CreateInstanceResult & WithId(const char *value)
Definition: CreateInstanceResult.h:68
Aws::Connect::Model::CreateInstanceResult::SetId
void SetId(Aws::String &&value)
Definition: CreateInstanceResult.h:48
Aws::Connect::Model::CreateInstanceResult::WithArn
CreateInstanceResult & WithArn(const char *value)
Definition: CreateInstanceResult.h:104
Aws::Connect::Model::CreateInstanceResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateInstanceResult.h:79
AWSString.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateInstanceResult::GetArn
const Aws::String & GetArn() const
Definition: CreateInstanceResult.h:74
Aws::Connect::Model::CreateInstanceResult::SetId
void SetId(const Aws::String &value)
Definition: CreateInstanceResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateInstanceResult::WithId
CreateInstanceResult & WithId(const Aws::String &value)
Definition: CreateInstanceResult.h:58
Aws::Connect::Model::CreateInstanceResult::WithArn
CreateInstanceResult & WithArn(Aws::String &&value)
Definition: CreateInstanceResult.h:99
Aws::Connect::Model::CreateInstanceResult::SetId
void SetId(const char *value)
Definition: CreateInstanceResult.h:53
Connect_EXPORTS.h
Aws::Connect::Model::CreateInstanceResult::CreateInstanceResult
CreateInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateInstanceResult::SetArn
void SetArn(const char *value)
Definition: CreateInstanceResult.h:89