AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkGroupSummary.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/core/utils/DateTime.h>
11#include <aws/athena/model/EngineVersion.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
36 {
37 public:
38 AWS_ATHENA_API WorkGroupSummary();
41 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline WorkGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline WorkGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline WorkGroupSummary& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const WorkGroupState& GetState() const{ return m_state; }
63 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
64 inline void SetState(const WorkGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
65 inline void SetState(WorkGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
66 inline WorkGroupSummary& WithState(const WorkGroupState& value) { SetState(value); return *this;}
67 inline WorkGroupSummary& WithState(WorkGroupState&& value) { SetState(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline WorkGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline WorkGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline WorkGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
92 inline WorkGroupSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
93 inline WorkGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95
97
102 inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
103 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
104 inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
105 inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
106 inline WorkGroupSummary& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
107 inline WorkGroupSummary& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
109
111
115 inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; }
116 inline bool IdentityCenterApplicationArnHasBeenSet() const { return m_identityCenterApplicationArnHasBeenSet; }
117 inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = value; }
118 inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::move(value); }
119 inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn.assign(value); }
124 private:
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 WorkGroupState m_state;
130 bool m_stateHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationTime;
136 bool m_creationTimeHasBeenSet = false;
137
138 EngineVersion m_engineVersion;
139 bool m_engineVersionHasBeenSet = false;
140
141 Aws::String m_identityCenterApplicationArn;
142 bool m_identityCenterApplicationArnHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Athena
147} // namespace Aws
void SetState(WorkGroupState &&value)
void SetDescription(const Aws::String &value)
void SetName(const Aws::String &value)
const EngineVersion & GetEngineVersion() const
WorkGroupSummary & WithCreationTime(Aws::Utils::DateTime &&value)
WorkGroupSummary & WithEngineVersion(EngineVersion &&value)
void SetIdentityCenterApplicationArn(Aws::String &&value)
AWS_ATHENA_API WorkGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetState(const WorkGroupState &value)
WorkGroupSummary & WithIdentityCenterApplicationArn(Aws::String &&value)
void SetIdentityCenterApplicationArn(const Aws::String &value)
void SetIdentityCenterApplicationArn(const char *value)
WorkGroupSummary & WithDescription(Aws::String &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkGroupSummary & WithIdentityCenterApplicationArn(const char *value)
WorkGroupSummary & WithState(WorkGroupState &&value)
void SetDescription(Aws::String &&value)
WorkGroupSummary & WithName(const char *value)
WorkGroupSummary & WithIdentityCenterApplicationArn(const Aws::String &value)
const WorkGroupState & GetState() const
void SetEngineVersion(const EngineVersion &value)
void SetName(Aws::String &&value)
WorkGroupSummary & WithName(Aws::String &&value)
WorkGroupSummary & WithCreationTime(const Aws::Utils::DateTime &value)
WorkGroupSummary & WithState(const WorkGroupState &value)
void SetDescription(const char *value)
WorkGroupSummary & WithDescription(const Aws::String &value)
void SetEngineVersion(EngineVersion &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetIdentityCenterApplicationArn() const
const Aws::String & GetDescription() const
const Aws::String & GetName() const
WorkGroupSummary & WithDescription(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_ATHENA_API WorkGroupSummary(Aws::Utils::Json::JsonView jsonValue)
WorkGroupSummary & WithName(const Aws::String &value)
WorkGroupSummary & WithEngineVersion(const EngineVersion &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue