AWS SDK for C++  1.9.156
AWS SDK for C++
CreateQueueResult.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& GetQueueArn() const{ return m_queueArn; }
39 
43  inline void SetQueueArn(const Aws::String& value) { m_queueArn = value; }
44 
48  inline void SetQueueArn(Aws::String&& value) { m_queueArn = std::move(value); }
49 
53  inline void SetQueueArn(const char* value) { m_queueArn.assign(value); }
54 
58  inline CreateQueueResult& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;}
59 
63  inline CreateQueueResult& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;}
64 
68  inline CreateQueueResult& WithQueueArn(const char* value) { SetQueueArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetQueueId() const{ return m_queueId; }
75 
79  inline void SetQueueId(const Aws::String& value) { m_queueId = value; }
80 
84  inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); }
85 
89  inline void SetQueueId(const char* value) { m_queueId.assign(value); }
90 
94  inline CreateQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
95 
99  inline CreateQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
100 
104  inline CreateQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_queueArn;
109 
110  Aws::String m_queueId;
111  };
112 
113 } // namespace Model
114 } // namespace Connect
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::CreateQueueResult::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: CreateQueueResult.h:79
Aws::Connect::Model::CreateQueueResult::WithQueueId
CreateQueueResult & WithQueueId(const char *value)
Definition: CreateQueueResult.h:104
Aws::Connect::Model::CreateQueueResult::SetQueueArn
void SetQueueArn(const char *value)
Definition: CreateQueueResult.h:53
Aws::Connect::Model::CreateQueueResult::WithQueueId
CreateQueueResult & WithQueueId(Aws::String &&value)
Definition: CreateQueueResult.h:99
Aws::Connect::Model::CreateQueueResult::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: CreateQueueResult.h:84
Aws::Connect::Model::CreateQueueResult::CreateQueueResult
CreateQueueResult()
Aws::Connect::Model::CreateQueueResult::GetQueueArn
const Aws::String & GetQueueArn() const
Definition: CreateQueueResult.h:38
Aws::Connect::Model::CreateQueueResult::CreateQueueResult
CreateQueueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateQueueResult::SetQueueId
void SetQueueId(const char *value)
Definition: CreateQueueResult.h:89
Aws::Connect::Model::CreateQueueResult::WithQueueArn
CreateQueueResult & WithQueueArn(const char *value)
Definition: CreateQueueResult.h:68
AWSString.h
Aws::Connect::Model::CreateQueueResult::WithQueueId
CreateQueueResult & WithQueueId(const Aws::String &value)
Definition: CreateQueueResult.h:94
Aws::Connect::Model::CreateQueueResult::SetQueueArn
void SetQueueArn(const Aws::String &value)
Definition: CreateQueueResult.h:43
Aws::Connect::Model::CreateQueueResult::GetQueueId
const Aws::String & GetQueueId() const
Definition: CreateQueueResult.h:74
Aws::Connect::Model::CreateQueueResult::SetQueueArn
void SetQueueArn(Aws::String &&value)
Definition: CreateQueueResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::CreateQueueResult::WithQueueArn
CreateQueueResult & WithQueueArn(const Aws::String &value)
Definition: CreateQueueResult.h:58
Aws::Connect::Model::CreateQueueResult::WithQueueArn
CreateQueueResult & WithQueueArn(Aws::String &&value)
Definition: CreateQueueResult.h:63
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::CreateQueueResult::operator=
CreateQueueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateQueueResult
Definition: CreateQueueResult.h:28