AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignInDistribution.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API SignInDistribution();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRegion() const{ return m_region; }
46 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
47 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
48 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
49 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
50 inline SignInDistribution& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
51 inline SignInDistribution& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
52 inline SignInDistribution& WithRegion(const char* value) { SetRegion(value); return *this;}
54
56
59 inline bool GetEnabled() const{ return m_enabled; }
60 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
61 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
62 inline SignInDistribution& WithEnabled(bool value) { SetEnabled(value); return *this;}
64 private:
65
66 Aws::String m_region;
67 bool m_regionHasBeenSet = false;
68
69 bool m_enabled;
70 bool m_enabledHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Connect
75} // namespace Aws
AWS_CONNECT_API SignInDistribution & operator=(Aws::Utils::Json::JsonView jsonValue)
SignInDistribution & WithRegion(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegion(const Aws::String &value)
SignInDistribution & WithEnabled(bool value)
SignInDistribution & WithRegion(const char *value)
AWS_CONNECT_API SignInDistribution(Aws::Utils::Json::JsonView jsonValue)
SignInDistribution & WithRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue