AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 AwsAthenaWorkGroupDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 AwsAthenaWorkGroupDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetState() const { return m_state; }
71 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
72 template<typename StateT = Aws::String>
73 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
74 template<typename StateT = Aws::String>
75 AwsAthenaWorkGroupDetails& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
77
79
86 inline const AwsAthenaWorkGroupConfigurationDetails& GetConfiguration() const { return m_configuration; }
87 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
88 template<typename ConfigurationT = AwsAthenaWorkGroupConfigurationDetails>
89 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
90 template<typename ConfigurationT = AwsAthenaWorkGroupConfigurationDetails>
91 AwsAthenaWorkGroupDetails& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 Aws::String m_state;
102 bool m_stateHasBeenSet = false;
103
105 bool m_configurationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsAthenaWorkGroupDetails & WithState(StateT &&value)
AwsAthenaWorkGroupDetails & WithDescription(DescriptionT &&value)
AwsAthenaWorkGroupDetails & WithName(NameT &&value)
AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails(Aws::Utils::Json::JsonView jsonValue)
AwsAthenaWorkGroupDetails & WithConfiguration(ConfigurationT &&value)
const AwsAthenaWorkGroupConfigurationDetails & GetConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsAthenaWorkGroupDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue