AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkGroup.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/WorkGroupState.h>
10#include <aws/athena/model/WorkGroupConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Athena
25{
26namespace Model
27{
28
45 {
46 public:
47 AWS_ATHENA_API WorkGroup();
48 AWS_ATHENA_API WorkGroup(Aws::Utils::Json::JsonView jsonValue);
50 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline WorkGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline WorkGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline WorkGroup& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const WorkGroupState& GetState() const{ return m_state; }
72 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
73 inline void SetState(const WorkGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
74 inline void SetState(WorkGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
75 inline WorkGroup& WithState(const WorkGroupState& value) { SetState(value); return *this;}
76 inline WorkGroup& WithState(WorkGroupState&& value) { SetState(std::move(value)); return *this;}
78
80
91 inline const WorkGroupConfiguration& GetConfiguration() const{ return m_configuration; }
92 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
93 inline void SetConfiguration(const WorkGroupConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
94 inline void SetConfiguration(WorkGroupConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
95 inline WorkGroup& WithConfiguration(const WorkGroupConfiguration& value) { SetConfiguration(value); return *this;}
96 inline WorkGroup& WithConfiguration(WorkGroupConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetDescription() const{ return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
106 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
107 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
108 inline WorkGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 inline WorkGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
110 inline WorkGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
118 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
119 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
120 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
121 inline WorkGroup& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
122 inline WorkGroup& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
124
126
130 inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; }
131 inline bool IdentityCenterApplicationArnHasBeenSet() const { return m_identityCenterApplicationArnHasBeenSet; }
132 inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = value; }
133 inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::move(value); }
134 inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn.assign(value); }
137 inline WorkGroup& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;}
139 private:
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 WorkGroupState m_state;
145 bool m_stateHasBeenSet = false;
146
147 WorkGroupConfiguration m_configuration;
148 bool m_configurationHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationTime;
154 bool m_creationTimeHasBeenSet = false;
155
156 Aws::String m_identityCenterApplicationArn;
157 bool m_identityCenterApplicationArnHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Athena
162} // namespace Aws
void SetState(const WorkGroupState &value)
Definition WorkGroup.h:73
bool DescriptionHasBeenSet() const
Definition WorkGroup.h:104
WorkGroup & WithName(Aws::String &&value)
Definition WorkGroup.h:63
WorkGroup & WithName(const Aws::String &value)
Definition WorkGroup.h:62
WorkGroup & WithIdentityCenterApplicationArn(const Aws::String &value)
Definition WorkGroup.h:135
WorkGroup & WithDescription(const Aws::String &value)
Definition WorkGroup.h:108
void SetConfiguration(WorkGroupConfiguration &&value)
Definition WorkGroup.h:94
const WorkGroupConfiguration & GetConfiguration() const
Definition WorkGroup.h:91
bool ConfigurationHasBeenSet() const
Definition WorkGroup.h:92
WorkGroup & WithCreationTime(Aws::Utils::DateTime &&value)
Definition WorkGroup.h:122
AWS_ATHENA_API WorkGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition WorkGroup.h:59
void SetIdentityCenterApplicationArn(const char *value)
Definition WorkGroup.h:134
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition WorkGroup.h:120
WorkGroup & WithDescription(const char *value)
Definition WorkGroup.h:110
WorkGroup & WithConfiguration(WorkGroupConfiguration &&value)
Definition WorkGroup.h:96
WorkGroup & WithConfiguration(const WorkGroupConfiguration &value)
Definition WorkGroup.h:95
WorkGroup & WithDescription(Aws::String &&value)
Definition WorkGroup.h:109
bool CreationTimeHasBeenSet() const
Definition WorkGroup.h:118
bool IdentityCenterApplicationArnHasBeenSet() const
Definition WorkGroup.h:131
void SetDescription(const Aws::String &value)
Definition WorkGroup.h:105
WorkGroup & WithIdentityCenterApplicationArn(Aws::String &&value)
Definition WorkGroup.h:136
const Aws::String & GetDescription() const
Definition WorkGroup.h:103
void SetState(WorkGroupState &&value)
Definition WorkGroup.h:74
WorkGroup & WithCreationTime(const Aws::Utils::DateTime &value)
Definition WorkGroup.h:121
const Aws::String & GetIdentityCenterApplicationArn() const
Definition WorkGroup.h:130
void SetDescription(Aws::String &&value)
Definition WorkGroup.h:106
WorkGroup & WithName(const char *value)
Definition WorkGroup.h:64
WorkGroup & WithIdentityCenterApplicationArn(const char *value)
Definition WorkGroup.h:137
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition WorkGroup.h:119
WorkGroup & WithState(WorkGroupState &&value)
Definition WorkGroup.h:76
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentityCenterApplicationArn(Aws::String &&value)
Definition WorkGroup.h:133
void SetConfiguration(const WorkGroupConfiguration &value)
Definition WorkGroup.h:93
const Aws::Utils::DateTime & GetCreationTime() const
Definition WorkGroup.h:117
WorkGroup & WithState(const WorkGroupState &value)
Definition WorkGroup.h:75
void SetName(const char *value)
Definition WorkGroup.h:61
const WorkGroupState & GetState() const
Definition WorkGroup.h:71
AWS_ATHENA_API WorkGroup(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition WorkGroup.h:107
const Aws::String & GetName() const
Definition WorkGroup.h:57
void SetIdentityCenterApplicationArn(const Aws::String &value)
Definition WorkGroup.h:132
void SetName(Aws::String &&value)
Definition WorkGroup.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue