AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateGroupRequest.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
25 {
26 public:
27 AWS_QUICKSIGHT_API CreateGroupRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateGroup"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetGroupName() const { return m_groupName; }
43 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
44 template<typename GroupNameT = Aws::String>
45 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
46 template<typename GroupNameT = Aws::String>
47 CreateGroupRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 CreateGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
68 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
69 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
70 template<typename AwsAccountIdT = Aws::String>
71 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
72 template<typename AwsAccountIdT = Aws::String>
73 CreateGroupRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetNamespace() const { return m_namespace; }
81 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
82 template<typename NamespaceT = Aws::String>
83 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
84 template<typename NamespaceT = Aws::String>
85 CreateGroupRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
87 private:
88
89 Aws::String m_groupName;
90 bool m_groupNameHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 Aws::String m_awsAccountId;
96 bool m_awsAccountIdHasBeenSet = false;
97
98 Aws::String m_namespace;
99 bool m_namespaceHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QuickSight
104} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithNamespace(NamespaceT &&value)
CreateGroupRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API CreateGroupRequest()=default
CreateGroupRequest & WithGroupName(GroupNameT &&value)
CreateGroupRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String