AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
UpdateCustomPermissionsRequest.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#include <aws/quicksight/model/Capabilities.h>
11#include <aws/quicksight/model/Governance.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API UpdateCustomPermissionsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateCustomPermissions"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCustomPermissionsName() const { return m_customPermissionsName; }
57 inline bool CustomPermissionsNameHasBeenSet() const { return m_customPermissionsNameHasBeenSet; }
58 template <typename CustomPermissionsNameT = Aws::String>
59 void SetCustomPermissionsName(CustomPermissionsNameT&& value) {
60 m_customPermissionsNameHasBeenSet = true;
61 m_customPermissionsName = std::forward<CustomPermissionsNameT>(value);
62 }
63 template <typename CustomPermissionsNameT = Aws::String>
65 SetCustomPermissionsName(std::forward<CustomPermissionsNameT>(value));
66 return *this;
67 }
69
71
74 inline const Capabilities& GetCapabilities() const { return m_capabilities; }
75 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
76 template <typename CapabilitiesT = Capabilities>
77 void SetCapabilities(CapabilitiesT&& value) {
78 m_capabilitiesHasBeenSet = true;
79 m_capabilities = std::forward<CapabilitiesT>(value);
80 }
81 template <typename CapabilitiesT = Capabilities>
83 SetCapabilities(std::forward<CapabilitiesT>(value));
84 return *this;
85 }
87
89
96 inline const Governance& GetGovernance() const { return m_governance; }
97 inline bool GovernanceHasBeenSet() const { return m_governanceHasBeenSet; }
98 template <typename GovernanceT = Governance>
99 void SetGovernance(GovernanceT&& value) {
100 m_governanceHasBeenSet = true;
101 m_governance = std::forward<GovernanceT>(value);
102 }
103 template <typename GovernanceT = Governance>
105 SetGovernance(std::forward<GovernanceT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_awsAccountId;
111
112 Aws::String m_customPermissionsName;
113
114 Capabilities m_capabilities;
115
116 Governance m_governance;
117 bool m_awsAccountIdHasBeenSet = false;
118 bool m_customPermissionsNameHasBeenSet = false;
119 bool m_capabilitiesHasBeenSet = false;
120 bool m_governanceHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
UpdateCustomPermissionsRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateCustomPermissionsRequest & WithCapabilities(CapabilitiesT &&value)
UpdateCustomPermissionsRequest & WithGovernance(GovernanceT &&value)
AWS_QUICKSIGHT_API UpdateCustomPermissionsRequest()=default
UpdateCustomPermissionsRequest & WithCustomPermissionsName(CustomPermissionsNameT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String