AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateWorkGroupRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/WorkGroupConfigurationUpdates.h>
11#include <aws/athena/model/WorkGroupState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Athena
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ATHENA_API UpdateWorkGroupRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkGroup"; }
33
34 AWS_ATHENA_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
44 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
45 template<typename WorkGroupT = Aws::String>
46 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
47 template<typename WorkGroupT = Aws::String>
48 UpdateWorkGroupRequest& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 UpdateWorkGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const WorkGroupConfigurationUpdates& GetConfigurationUpdates() const { return m_configurationUpdates; }
68 inline bool ConfigurationUpdatesHasBeenSet() const { return m_configurationUpdatesHasBeenSet; }
69 template<typename ConfigurationUpdatesT = WorkGroupConfigurationUpdates>
70 void SetConfigurationUpdates(ConfigurationUpdatesT&& value) { m_configurationUpdatesHasBeenSet = true; m_configurationUpdates = std::forward<ConfigurationUpdatesT>(value); }
71 template<typename ConfigurationUpdatesT = WorkGroupConfigurationUpdates>
72 UpdateWorkGroupRequest& WithConfigurationUpdates(ConfigurationUpdatesT&& value) { SetConfigurationUpdates(std::forward<ConfigurationUpdatesT>(value)); return *this;}
74
76
79 inline WorkGroupState GetState() const { return m_state; }
80 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
81 inline void SetState(WorkGroupState value) { m_stateHasBeenSet = true; m_state = value; }
82 inline UpdateWorkGroupRequest& WithState(WorkGroupState value) { SetState(value); return *this;}
84 private:
85
86 Aws::String m_workGroup;
87 bool m_workGroupHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 WorkGroupConfigurationUpdates m_configurationUpdates;
93 bool m_configurationUpdatesHasBeenSet = false;
94
96 bool m_stateHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Athena
101} // namespace Aws
const WorkGroupConfigurationUpdates & GetConfigurationUpdates() const
virtual const char * GetServiceRequestName() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWorkGroupRequest & WithDescription(DescriptionT &&value)
void SetConfigurationUpdates(ConfigurationUpdatesT &&value)
UpdateWorkGroupRequest & WithConfigurationUpdates(ConfigurationUpdatesT &&value)
AWS_ATHENA_API UpdateWorkGroupRequest()=default
UpdateWorkGroupRequest & WithWorkGroup(WorkGroupT &&value)
UpdateWorkGroupRequest & WithState(WorkGroupState value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String