AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignInConfig.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/SignInDistribution.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
35 {
36 public:
37 AWS_CONNECT_API SignInConfig();
38 AWS_CONNECT_API SignInConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<SignInDistribution>& GetDistributions() const{ return m_distributions; }
48 inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; }
49 inline void SetDistributions(const Aws::Vector<SignInDistribution>& value) { m_distributionsHasBeenSet = true; m_distributions = value; }
50 inline void SetDistributions(Aws::Vector<SignInDistribution>&& value) { m_distributionsHasBeenSet = true; m_distributions = std::move(value); }
52 inline SignInConfig& WithDistributions(Aws::Vector<SignInDistribution>&& value) { SetDistributions(std::move(value)); return *this;}
53 inline SignInConfig& AddDistributions(const SignInDistribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; }
54 inline SignInConfig& AddDistributions(SignInDistribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<SignInDistribution> m_distributions;
59 bool m_distributionsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Connect
64} // namespace Aws
void SetDistributions(const Aws::Vector< SignInDistribution > &value)
void SetDistributions(Aws::Vector< SignInDistribution > &&value)
SignInConfig & AddDistributions(const SignInDistribution &value)
const Aws::Vector< SignInDistribution > & GetDistributions() const
SignInConfig & AddDistributions(SignInDistribution &&value)
SignInConfig & WithDistributions(const Aws::Vector< SignInDistribution > &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API SignInConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SignInConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SignInConfig & WithDistributions(Aws::Vector< SignInDistribution > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue