AWS SDK for C++  1.9.158
AWS SDK for C++
WorkGroupSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Athena
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline WorkGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline WorkGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline WorkGroupSummary& WithName(const char* value) { SetName(value); return *this;}
83 
84 
88  inline const WorkGroupState& GetState() const{ return m_state; }
89 
93  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
94 
98  inline void SetState(const WorkGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
99 
103  inline void SetState(WorkGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
104 
108  inline WorkGroupSummary& WithState(const WorkGroupState& value) { SetState(value); return *this;}
109 
113  inline WorkGroupSummary& WithState(WorkGroupState&& value) { SetState(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetDescription() const{ return m_description; }
120 
124  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
125 
129  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
130 
134  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
135 
139  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 
144  inline WorkGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 
149  inline WorkGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
150 
154  inline WorkGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
155 
156 
160  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
161 
165  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
166 
170  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
171 
175  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
176 
180  inline WorkGroupSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
181 
185  inline WorkGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
186 
187 
193  inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
194 
200  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
201 
207  inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
208 
214  inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
215 
221  inline WorkGroupSummary& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
222 
228  inline WorkGroupSummary& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
229 
230  private:
231 
232  Aws::String m_name;
233  bool m_nameHasBeenSet;
234 
235  WorkGroupState m_state;
236  bool m_stateHasBeenSet;
237 
238  Aws::String m_description;
239  bool m_descriptionHasBeenSet;
240 
241  Aws::Utils::DateTime m_creationTime;
242  bool m_creationTimeHasBeenSet;
243 
244  EngineVersion m_engineVersion;
245  bool m_engineVersionHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace Athena
250 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Athena::Model::WorkGroupSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: WorkGroupSummary.h:124
Aws::Athena::Model::WorkGroupSummary::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: WorkGroupSummary.h:200
Aws::Athena::Model::WorkGroupSummary::SetDescription
void SetDescription(const char *value)
Definition: WorkGroupSummary.h:139
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
DateTime.h
Aws::Athena::Model::WorkGroupSummary::WithName
WorkGroupSummary & WithName(Aws::String &&value)
Definition: WorkGroupSummary.h:77
Aws::Athena::Model::WorkGroupSummary::GetName
const Aws::String & GetName() const
Definition: WorkGroupSummary.h:47
Aws::Athena::Model::WorkGroupSummary::WithName
WorkGroupSummary & WithName(const Aws::String &value)
Definition: WorkGroupSummary.h:72
Aws::Athena::Model::WorkGroupSummary::operator=
WorkGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::EngineVersion
Definition: EngineVersion.h:32
Aws::Athena::Model::WorkGroupSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: WorkGroupSummary.h:170
Aws::Athena::Model::WorkGroupSummary::WorkGroupSummary
WorkGroupSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::WorkGroupSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: WorkGroupSummary.h:52
Aws::Athena::Model::WorkGroupSummary::WithDescription
WorkGroupSummary & WithDescription(const char *value)
Definition: WorkGroupSummary.h:154
Aws::Athena::Model::WorkGroupSummary::SetName
void SetName(const Aws::String &value)
Definition: WorkGroupSummary.h:57
Aws::Athena::Model::WorkGroupSummary::StateHasBeenSet
bool StateHasBeenSet() const
Definition: WorkGroupSummary.h:93
Aws::Athena::Model::WorkGroupSummary
Definition: WorkGroupSummary.h:36
Aws::Athena::Model::WorkGroupSummary::GetDescription
const Aws::String & GetDescription() const
Definition: WorkGroupSummary.h:119
Aws::Athena::Model::WorkGroupSummary::WithDescription
WorkGroupSummary & WithDescription(const Aws::String &value)
Definition: WorkGroupSummary.h:144
Aws::Athena::Model::WorkGroupSummary::WithEngineVersion
WorkGroupSummary & WithEngineVersion(const EngineVersion &value)
Definition: WorkGroupSummary.h:221
Aws::Athena::Model::WorkGroupSummary::SetState
void SetState(const WorkGroupState &value)
Definition: WorkGroupSummary.h:98
Aws::Athena::Model::WorkGroupSummary::SetEngineVersion
void SetEngineVersion(EngineVersion &&value)
Definition: WorkGroupSummary.h:214
WorkGroupState.h
Aws::Athena::Model::WorkGroupSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: WorkGroupSummary.h:160
Aws::Athena::Model::WorkGroupSummary::WithState
WorkGroupSummary & WithState(WorkGroupState &&value)
Definition: WorkGroupSummary.h:113
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::WorkGroupSummary::WorkGroupSummary
WorkGroupSummary()
Aws::Athena::Model::WorkGroupSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: WorkGroupSummary.h:129
Aws::Athena::Model::WorkGroupState
WorkGroupState
Definition: WorkGroupState.h:17
Aws::Athena::Model::WorkGroupSummary::SetName
void SetName(Aws::String &&value)
Definition: WorkGroupSummary.h:62
Aws::Athena::Model::WorkGroupSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: WorkGroupSummary.h:165
Aws::Athena::Model::WorkGroupSummary::WithDescription
WorkGroupSummary & WithDescription(Aws::String &&value)
Definition: WorkGroupSummary.h:149
Aws::Athena::Model::WorkGroupSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::WorkGroupSummary::SetName
void SetName(const char *value)
Definition: WorkGroupSummary.h:67
Aws::Athena::Model::WorkGroupSummary::GetState
const WorkGroupState & GetState() const
Definition: WorkGroupSummary.h:88
Aws::Athena::Model::WorkGroupSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: WorkGroupSummary.h:134
Aws::Athena::Model::WorkGroupSummary::WithCreationTime
WorkGroupSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: WorkGroupSummary.h:180
Aws::Athena::Model::WorkGroupSummary::WithEngineVersion
WorkGroupSummary & WithEngineVersion(EngineVersion &&value)
Definition: WorkGroupSummary.h:228
Aws::Athena::Model::WorkGroupSummary::WithState
WorkGroupSummary & WithState(const WorkGroupState &value)
Definition: WorkGroupSummary.h:108
Aws::Athena::Model::WorkGroupSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: WorkGroupSummary.h:175
Aws::Athena::Model::WorkGroupSummary::WithName
WorkGroupSummary & WithName(const char *value)
Definition: WorkGroupSummary.h:82
Aws::Athena::Model::WorkGroupSummary::GetEngineVersion
const EngineVersion & GetEngineVersion() const
Definition: WorkGroupSummary.h:193
Aws::Athena::Model::WorkGroupSummary::WithCreationTime
WorkGroupSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: WorkGroupSummary.h:185
EngineVersion.h
Aws::Athena::Model::WorkGroupSummary::SetEngineVersion
void SetEngineVersion(const EngineVersion &value)
Definition: WorkGroupSummary.h:207
Aws::Athena::Model::WorkGroupSummary::SetState
void SetState(WorkGroupState &&value)
Definition: WorkGroupSummary.h:103