AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API UpdateGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetGroupName() const { return m_groupName; }
36 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
37 template <typename GroupNameT = Aws::String>
38 void SetGroupName(GroupNameT&& value) {
39 m_groupNameHasBeenSet = true;
40 m_groupName = std::forward<GroupNameT>(value);
41 }
42 template <typename GroupNameT = Aws::String>
43 UpdateGroupRequest& WithGroupName(GroupNameT&& value) {
44 SetGroupName(std::forward<GroupNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
61 UpdateGroupRequest& WithDescription(DescriptionT&& value) {
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
74 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
75 template <typename AwsAccountIdT = Aws::String>
76 void SetAwsAccountId(AwsAccountIdT&& value) {
77 m_awsAccountIdHasBeenSet = true;
78 m_awsAccountId = std::forward<AwsAccountIdT>(value);
79 }
80 template <typename AwsAccountIdT = Aws::String>
81 UpdateGroupRequest& WithAwsAccountId(AwsAccountIdT&& value) {
82 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetNamespace() const { return m_namespace; }
92 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
93 template <typename NamespaceT = Aws::String>
94 void SetNamespace(NamespaceT&& value) {
95 m_namespaceHasBeenSet = true;
96 m_namespace = std::forward<NamespaceT>(value);
97 }
98 template <typename NamespaceT = Aws::String>
99 UpdateGroupRequest& WithNamespace(NamespaceT&& value) {
100 SetNamespace(std::forward<NamespaceT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_groupName;
106
107 Aws::String m_description;
108
109 Aws::String m_awsAccountId;
110
111 Aws::String m_namespace;
112 bool m_groupNameHasBeenSet = false;
113 bool m_descriptionHasBeenSet = false;
114 bool m_awsAccountIdHasBeenSet = false;
115 bool m_namespaceHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace QuickSight
120} // namespace Aws
UpdateGroupRequest & WithDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API UpdateGroupRequest()=default
UpdateGroupRequest & WithNamespace(NamespaceT &&value)
UpdateGroupRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithGroupName(GroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String