AWS SDK for C++  1.9.153
AWS SDK for C++
Dimensions.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 QueueReference& GetQueue() const{ return m_queue; }
46 
50  inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
51 
55  inline void SetQueue(const QueueReference& value) { m_queueHasBeenSet = true; m_queue = value; }
56 
60  inline void SetQueue(QueueReference&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
61 
65  inline Dimensions& WithQueue(const QueueReference& value) { SetQueue(value); return *this;}
66 
70  inline Dimensions& WithQueue(QueueReference&& value) { SetQueue(std::move(value)); return *this;}
71 
72 
76  inline const Channel& GetChannel() const{ return m_channel; }
77 
81  inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
82 
86  inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; }
87 
91  inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
92 
96  inline Dimensions& WithChannel(const Channel& value) { SetChannel(value); return *this;}
97 
101  inline Dimensions& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
102 
103  private:
104 
105  QueueReference m_queue;
106  bool m_queueHasBeenSet;
107 
108  Channel m_channel;
109  bool m_channelHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace Connect
114 } // namespace Aws
QueueReference.h
Aws::Connect::Model::Dimensions::WithQueue
Dimensions & WithQueue(QueueReference &&value)
Definition: Dimensions.h:70
Aws::Connect::Model::Channel
Channel
Definition: Channel.h:17
Aws::Connect::Model::Dimensions::GetQueue
const QueueReference & GetQueue() const
Definition: Dimensions.h:45
Aws::Connect::Model::Dimensions::GetChannel
const Channel & GetChannel() const
Definition: Dimensions.h:76
Aws::Connect::Model::Dimensions::Dimensions
Dimensions()
Aws::Connect::Model::Dimensions::ChannelHasBeenSet
bool ChannelHasBeenSet() const
Definition: Dimensions.h:81
Aws::Connect::Model::Dimensions
Definition: Dimensions.h:34
Channel.h
Aws::Connect::Model::Dimensions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::Dimensions::SetChannel
void SetChannel(const Channel &value)
Definition: Dimensions.h:86
Aws::Connect::Model::Dimensions::Dimensions
Dimensions(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Dimensions::operator=
Dimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Dimensions::SetQueue
void SetQueue(const QueueReference &value)
Definition: Dimensions.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::Dimensions::WithChannel
Dimensions & WithChannel(const Channel &value)
Definition: Dimensions.h:96
Aws::Connect::Model::Dimensions::WithChannel
Dimensions & WithChannel(Channel &&value)
Definition: Dimensions.h:101
Aws::Connect::Model::Dimensions::QueueHasBeenSet
bool QueueHasBeenSet() const
Definition: Dimensions.h:50
Aws::Connect::Model::QueueReference
Definition: QueueReference.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::Dimensions::SetQueue
void SetQueue(QueueReference &&value)
Definition: Dimensions.h:60
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::Dimensions::SetChannel
void SetChannel(Channel &&value)
Definition: Dimensions.h:91
Aws::Connect::Model::Dimensions::WithQueue
Dimensions & WithQueue(const QueueReference &value)
Definition: Dimensions.h:65