AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/Distribution.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API AgentConfig();
37 AWS_CONNECT_API AgentConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Distribution>& GetDistributions() const{ return m_distributions; }
47 inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; }
48 inline void SetDistributions(const Aws::Vector<Distribution>& value) { m_distributionsHasBeenSet = true; m_distributions = value; }
49 inline void SetDistributions(Aws::Vector<Distribution>&& value) { m_distributionsHasBeenSet = true; m_distributions = std::move(value); }
50 inline AgentConfig& WithDistributions(const Aws::Vector<Distribution>& value) { SetDistributions(value); return *this;}
51 inline AgentConfig& WithDistributions(Aws::Vector<Distribution>&& value) { SetDistributions(std::move(value)); return *this;}
52 inline AgentConfig& AddDistributions(const Distribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; }
53 inline AgentConfig& AddDistributions(Distribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<Distribution> m_distributions;
58 bool m_distributionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Connect
63} // namespace Aws
AgentConfig & WithDistributions(const Aws::Vector< Distribution > &value)
Definition AgentConfig.h:50
void SetDistributions(const Aws::Vector< Distribution > &value)
Definition AgentConfig.h:48
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentConfig & AddDistributions(Distribution &&value)
Definition AgentConfig.h:53
const Aws::Vector< Distribution > & GetDistributions() const
Definition AgentConfig.h:46
AWS_CONNECT_API AgentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AgentConfig(Aws::Utils::Json::JsonView jsonValue)
AgentConfig & AddDistributions(const Distribution &value)
Definition AgentConfig.h:52
void SetDistributions(Aws::Vector< Distribution > &&value)
Definition AgentConfig.h:49
AgentConfig & WithDistributions(Aws::Vector< Distribution > &&value)
Definition AgentConfig.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue