AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API UpdateGroupRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetGroupName() const { return m_groupName; }
40 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
41 template<typename GroupNameT = Aws::String>
42 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
43 template<typename GroupNameT = Aws::String>
44 UpdateGroupRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDescription() const { return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 UpdateGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
65 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
66 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
67 template<typename AwsAccountIdT = Aws::String>
68 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
69 template<typename AwsAccountIdT = Aws::String>
70 UpdateGroupRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetNamespace() const { return m_namespace; }
78 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
79 template<typename NamespaceT = Aws::String>
80 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
81 template<typename NamespaceT = Aws::String>
82 UpdateGroupRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
84 private:
85
86 Aws::String m_groupName;
87 bool m_groupNameHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91
92 Aws::String m_awsAccountId;
93 bool m_awsAccountIdHasBeenSet = false;
94
95 Aws::String m_namespace;
96 bool m_namespaceHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // 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