AWS SDK for C++  1.9.160
AWS SDK for C++
RoutingProfileQueueReference.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetQueueId() const{ return m_queueId; }
46 
50  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
51 
55  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
56 
60  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
61 
65  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
66 
70  inline RoutingProfileQueueReference& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
71 
75  inline RoutingProfileQueueReference& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
76 
80  inline RoutingProfileQueueReference& WithQueueId(const char* value) { SetQueueId(value); return *this;}
81 
82 
87  inline const Channel& GetChannel() const{ return m_channel; }
88 
93  inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
94 
99  inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
100 
105  inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
106 
111  inline RoutingProfileQueueReference& WithChannel(const Channel& value) { SetChannel(value); return *this;}
112 
117  inline RoutingProfileQueueReference& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
118 
119  private:
120 
121  Aws::String m_queueId;
122  bool m_queueIdHasBeenSet;
123 
124  Channel m_channel;
125  bool m_channelHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace Connect
130 } // namespace Aws
Aws::Connect::Model::RoutingProfileQueueReference::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: RoutingProfileQueueReference.h:50
Aws::Connect::Model::Channel
Channel
Definition: Channel.h:17
Aws::Connect::Model::RoutingProfileQueueReference::WithQueueId
RoutingProfileQueueReference & WithQueueId(const char *value)
Definition: RoutingProfileQueueReference.h:80
Aws::Connect::Model::RoutingProfileQueueReference::SetQueueId
void SetQueueId(const char *value)
Definition: RoutingProfileQueueReference.h:65
Aws::Connect::Model::RoutingProfileQueueReference::RoutingProfileQueueReference
RoutingProfileQueueReference()
Aws::Connect::Model::RoutingProfileQueueReference::operator=
RoutingProfileQueueReference & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::RoutingProfileQueueReference::GetQueueId
const Aws::String & GetQueueId() const
Definition: RoutingProfileQueueReference.h:45
Aws::Connect::Model::RoutingProfileQueueReference::RoutingProfileQueueReference
RoutingProfileQueueReference(Aws::Utils::Json::JsonView jsonValue)
Channel.h
Aws::Connect::Model::RoutingProfileQueueReference::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: RoutingProfileQueueReference.h:60
Aws::Connect::Model::RoutingProfileQueueReference::WithChannel
RoutingProfileQueueReference & WithChannel(Channel &&value)
Definition: RoutingProfileQueueReference.h:117
Aws::Connect::Model::RoutingProfileQueueReference::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: RoutingProfileQueueReference.h:55
Aws::Connect::Model::RoutingProfileQueueReference::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::RoutingProfileQueueReference::GetChannel
const Channel & GetChannel() const
Definition: RoutingProfileQueueReference.h:87
Aws::Connect::Model::RoutingProfileQueueReference::SetChannel
void SetChannel(const Channel &value)
Definition: RoutingProfileQueueReference.h:99
Aws::Connect::Model::RoutingProfileQueueReference::WithQueueId
RoutingProfileQueueReference & WithQueueId(Aws::String &&value)
Definition: RoutingProfileQueueReference.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::RoutingProfileQueueReference::ChannelHasBeenSet
bool ChannelHasBeenSet() const
Definition: RoutingProfileQueueReference.h:93
Aws::Connect::Model::RoutingProfileQueueReference::WithQueueId
RoutingProfileQueueReference & WithQueueId(const Aws::String &value)
Definition: RoutingProfileQueueReference.h:70
Aws::Connect::Model::RoutingProfileQueueReference::SetChannel
void SetChannel(Channel &&value)
Definition: RoutingProfileQueueReference.h:105
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::RoutingProfileQueueReference::WithChannel
RoutingProfileQueueReference & WithChannel(const Channel &value)
Definition: RoutingProfileQueueReference.h:111
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::RoutingProfileQueueReference
Definition: RoutingProfileQueueReference.h:34