AWS SDK for C++  1.9.160
AWS SDK for C++
Filters.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::Vector<Aws::String>& GetQueues() const{ return m_queues; }
48 
53  inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
54 
59  inline void SetQueues(const Aws::Vector<Aws::String>& value) { m_queuesHasBeenSet = true; m_queues = value; }
60 
65  inline void SetQueues(Aws::Vector<Aws::String>&& value) { m_queuesHasBeenSet = true; m_queues = std::move(value); }
66 
71  inline Filters& WithQueues(const Aws::Vector<Aws::String>& value) { SetQueues(value); return *this;}
72 
77  inline Filters& WithQueues(Aws::Vector<Aws::String>&& value) { SetQueues(std::move(value)); return *this;}
78 
83  inline Filters& AddQueues(const Aws::String& value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
84 
89  inline Filters& AddQueues(Aws::String&& value) { m_queuesHasBeenSet = true; m_queues.push_back(std::move(value)); return *this; }
90 
95  inline Filters& AddQueues(const char* value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
96 
97 
101  inline const Aws::Vector<Channel>& GetChannels() const{ return m_channels; }
102 
106  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
107 
111  inline void SetChannels(const Aws::Vector<Channel>& value) { m_channelsHasBeenSet = true; m_channels = value; }
112 
116  inline void SetChannels(Aws::Vector<Channel>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
117 
121  inline Filters& WithChannels(const Aws::Vector<Channel>& value) { SetChannels(value); return *this;}
122 
126  inline Filters& WithChannels(Aws::Vector<Channel>&& value) { SetChannels(std::move(value)); return *this;}
127 
131  inline Filters& AddChannels(const Channel& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
132 
136  inline Filters& AddChannels(Channel&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
137 
138  private:
139 
140  Aws::Vector<Aws::String> m_queues;
141  bool m_queuesHasBeenSet;
142 
143  Aws::Vector<Channel> m_channels;
144  bool m_channelsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace Connect
149 } // namespace Aws
Aws::Connect::Model::Filters::SetChannels
void SetChannels(Aws::Vector< Channel > &&value)
Definition: Filters.h:116
Aws::Connect::Model::Channel
Channel
Definition: Channel.h:17
Aws::Connect::Model::Filters::QueuesHasBeenSet
bool QueuesHasBeenSet() const
Definition: Filters.h:53
Aws::Connect::Model::Filters::GetQueues
const Aws::Vector< Aws::String > & GetQueues() const
Definition: Filters.h:47
Aws::Connect::Model::Filters::WithQueues
Filters & WithQueues(Aws::Vector< Aws::String > &&value)
Definition: Filters.h:77
Aws::Connect::Model::Filters
Definition: Filters.h:35
Aws::Connect::Model::Filters::Filters
Filters()
Channel.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::Filters::GetChannels
const Aws::Vector< Channel > & GetChannels() const
Definition: Filters.h:101
AWSVector.h
Aws::Connect::Model::Filters::Filters
Filters(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Filters::operator=
Filters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::Filters::WithChannels
Filters & WithChannels(const Aws::Vector< Channel > &value)
Definition: Filters.h:121
Aws::Connect::Model::Filters::AddQueues
Filters & AddQueues(Aws::String &&value)
Definition: Filters.h:89
Aws::Connect::Model::Filters::WithChannels
Filters & WithChannels(Aws::Vector< Channel > &&value)
Definition: Filters.h:126
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::Filters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::Filters::AddQueues
Filters & AddQueues(const Aws::String &value)
Definition: Filters.h:83
Aws::Connect::Model::Filters::AddChannels
Filters & AddChannels(const Channel &value)
Definition: Filters.h:131
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::Filters::SetQueues
void SetQueues(Aws::Vector< Aws::String > &&value)
Definition: Filters.h:65
Aws::Connect::Model::Filters::SetQueues
void SetQueues(const Aws::Vector< Aws::String > &value)
Definition: Filters.h:59
Aws::Connect::Model::Filters::AddQueues
Filters & AddQueues(const char *value)
Definition: Filters.h:95
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::Filters::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: Filters.h:106
Aws::Connect::Model::Filters::AddChannels
Filters & AddChannels(Channel &&value)
Definition: Filters.h:136
Connect_EXPORTS.h
Aws::Connect::Model::Filters::WithQueues
Filters & WithQueues(const Aws::Vector< Aws::String > &value)
Definition: Filters.h:71
Aws::Connect::Model::Filters::SetChannels
void SetChannels(const Aws::Vector< Channel > &value)
Definition: Filters.h:111