AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
46 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
47 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
48 inline UpdateWorkGroupRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
49 inline UpdateWorkGroupRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
50 inline UpdateWorkGroupRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateWorkGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateWorkGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateWorkGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const WorkGroupConfigurationUpdates& GetConfigurationUpdates() const{ return m_configurationUpdates; }
72 inline bool ConfigurationUpdatesHasBeenSet() const { return m_configurationUpdatesHasBeenSet; }
73 inline void SetConfigurationUpdates(const WorkGroupConfigurationUpdates& value) { m_configurationUpdatesHasBeenSet = true; m_configurationUpdates = value; }
74 inline void SetConfigurationUpdates(WorkGroupConfigurationUpdates&& value) { m_configurationUpdatesHasBeenSet = true; m_configurationUpdates = std::move(value); }
78
80
83 inline const WorkGroupState& GetState() const{ return m_state; }
84 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
85 inline void SetState(const WorkGroupState& value) { m_stateHasBeenSet = true; m_state = value; }
86 inline void SetState(WorkGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
87 inline UpdateWorkGroupRequest& WithState(const WorkGroupState& value) { SetState(value); return *this;}
88 inline UpdateWorkGroupRequest& WithState(WorkGroupState&& value) { SetState(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_workGroup;
93 bool m_workGroupHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
98 WorkGroupConfigurationUpdates m_configurationUpdates;
99 bool m_configurationUpdatesHasBeenSet = false;
100
101 WorkGroupState m_state;
102 bool m_stateHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Athena
107} // namespace Aws
const WorkGroupConfigurationUpdates & GetConfigurationUpdates() const
virtual const char * GetServiceRequestName() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateWorkGroupRequest & WithState(const WorkGroupState &value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConfigurationUpdates(const WorkGroupConfigurationUpdates &value)
UpdateWorkGroupRequest & WithDescription(const char *value)
UpdateWorkGroupRequest & WithWorkGroup(Aws::String &&value)
UpdateWorkGroupRequest & WithState(WorkGroupState &&value)
void SetState(const WorkGroupState &value)
UpdateWorkGroupRequest & WithDescription(Aws::String &&value)
UpdateWorkGroupRequest & WithConfigurationUpdates(const WorkGroupConfigurationUpdates &value)
UpdateWorkGroupRequest & WithConfigurationUpdates(WorkGroupConfigurationUpdates &&value)
void SetConfigurationUpdates(WorkGroupConfigurationUpdates &&value)
UpdateWorkGroupRequest & WithDescription(const Aws::String &value)
UpdateWorkGroupRequest & WithWorkGroup(const Aws::String &value)
UpdateWorkGroupRequest & WithWorkGroup(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String