AWS SDK for C++  1.9.154
AWS SDK for C++
QueueReference.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline QueueReference& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline QueueReference& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline QueueReference& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline QueueReference& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline QueueReference& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline QueueReference& WithArn(const char* value) { SetArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_id;
125  bool m_idHasBeenSet;
126 
127  Aws::String m_arn;
128  bool m_arnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Connect
133 } // namespace Aws
Aws::Connect::Model::QueueReference::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::QueueReference::WithId
QueueReference & WithId(const Aws::String &value)
Definition: QueueReference.h:69
Aws::Connect::Model::QueueReference::WithArn
QueueReference & WithArn(const char *value)
Definition: QueueReference.h:120
Aws::Connect::Model::QueueReference::IdHasBeenSet
bool IdHasBeenSet() const
Definition: QueueReference.h:49
Aws::Connect::Model::QueueReference::operator=
QueueReference & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QueueReference::SetId
void SetId(const char *value)
Definition: QueueReference.h:64
Aws::Connect::Model::QueueReference::SetArn
void SetArn(const char *value)
Definition: QueueReference.h:105
Aws::Connect::Model::QueueReference::SetId
void SetId(Aws::String &&value)
Definition: QueueReference.h:59
Aws::Connect::Model::QueueReference::GetArn
const Aws::String & GetArn() const
Definition: QueueReference.h:85
Aws::Connect::Model::QueueReference::WithId
QueueReference & WithId(Aws::String &&value)
Definition: QueueReference.h:74
Aws::Connect::Model::QueueReference::QueueReference
QueueReference()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::QueueReference::WithArn
QueueReference & WithArn(Aws::String &&value)
Definition: QueueReference.h:115
Aws::Connect::Model::QueueReference::WithId
QueueReference & WithId(const char *value)
Definition: QueueReference.h:79
Aws::Connect::Model::QueueReference
Definition: QueueReference.h:33
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::QueueReference::WithArn
QueueReference & WithArn(const Aws::String &value)
Definition: QueueReference.h:110
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::QueueReference::SetId
void SetId(const Aws::String &value)
Definition: QueueReference.h:54
Aws::Connect::Model::QueueReference::SetArn
void SetArn(const Aws::String &value)
Definition: QueueReference.h:95
Aws::Connect::Model::QueueReference::GetId
const Aws::String & GetId() const
Definition: QueueReference.h:44
Connect_EXPORTS.h
Aws::Connect::Model::QueueReference::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: QueueReference.h:90
Aws::Connect::Model::QueueReference::QueueReference
QueueReference(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QueueReference::SetArn
void SetArn(Aws::String &&value)
Definition: QueueReference.h:100