AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsAthenaWorkGroupDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsAthenaWorkGroupConfigurationDetails.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AwsAthenaWorkGroupDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AwsAthenaWorkGroupDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AwsAthenaWorkGroupDetails& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline AwsAthenaWorkGroupDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline AwsAthenaWorkGroupDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline AwsAthenaWorkGroupDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetState() const{ return m_state; }
75 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
77 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
78 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
79 inline AwsAthenaWorkGroupDetails& WithState(const Aws::String& value) { SetState(value); return *this;}
80 inline AwsAthenaWorkGroupDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
81 inline AwsAthenaWorkGroupDetails& WithState(const char* value) { SetState(value); return *this;}
83
85
92 inline const AwsAthenaWorkGroupConfigurationDetails& GetConfiguration() const{ return m_configuration; }
93 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
94 inline void SetConfiguration(const AwsAthenaWorkGroupConfigurationDetails& value) { m_configurationHasBeenSet = true; m_configuration = value; }
95 inline void SetConfiguration(AwsAthenaWorkGroupConfigurationDetails&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_state;
108 bool m_stateHasBeenSet = false;
109
111 bool m_configurationHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SecurityHub
116} // namespace Aws
AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguration(AwsAthenaWorkGroupConfigurationDetails &&value)
AwsAthenaWorkGroupDetails & WithConfiguration(AwsAthenaWorkGroupConfigurationDetails &&value)
AwsAthenaWorkGroupDetails & WithName(const char *value)
AwsAthenaWorkGroupDetails & WithDescription(const char *value)
AwsAthenaWorkGroupDetails & WithState(const Aws::String &value)
AwsAthenaWorkGroupDetails & WithDescription(const Aws::String &value)
AwsAthenaWorkGroupDetails & WithState(const char *value)
AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails(Aws::Utils::Json::JsonView jsonValue)
AwsAthenaWorkGroupDetails & WithConfiguration(const AwsAthenaWorkGroupConfigurationDetails &value)
AwsAthenaWorkGroupDetails & WithDescription(Aws::String &&value)
const AwsAthenaWorkGroupConfigurationDetails & GetConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsAthenaWorkGroupDetails & WithName(Aws::String &&value)
void SetConfiguration(const AwsAthenaWorkGroupConfigurationDetails &value)
AwsAthenaWorkGroupDetails & WithName(const Aws::String &value)
AwsAthenaWorkGroupDetails & WithState(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue