AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
CreateLimitsProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ProfileLimitValue.h>
12#include <aws/quicksight/model/ResourceType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API CreateLimitsProfileRequest() = 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 "CreateLimitsProfile"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetAccountId() const { return m_accountId; }
40 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
41 template <typename AccountIdT = Aws::String>
42 void SetAccountId(AccountIdT&& value) {
43 m_accountIdHasBeenSet = true;
44 m_accountId = std::forward<AccountIdT>(value);
45 }
46 template <typename AccountIdT = Aws::String>
48 SetAccountId(std::forward<AccountIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProfileName() const { return m_profileName; }
58 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
59 template <typename ProfileNameT = Aws::String>
60 void SetProfileName(ProfileNameT&& value) {
61 m_profileNameHasBeenSet = true;
62 m_profileName = std::forward<ProfileNameT>(value);
63 }
64 template <typename ProfileNameT = Aws::String>
66 SetProfileName(std::forward<ProfileNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Map<ResourceType, ProfileLimitValue>& GetResourceLimits() const { return m_resourceLimits; }
94 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
95 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
96 void SetResourceLimits(ResourceLimitsT&& value) {
97 m_resourceLimitsHasBeenSet = true;
98 m_resourceLimits = std::forward<ResourceLimitsT>(value);
99 }
100 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
102 SetResourceLimits(std::forward<ResourceLimitsT>(value));
103 return *this;
104 }
106 m_resourceLimitsHasBeenSet = true;
107 m_resourceLimits.emplace(key, value);
108 return *this;
109 }
111
113
118 inline const Aws::String& GetClientToken() const { return m_clientToken; }
119 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
120 template <typename ClientTokenT = Aws::String>
121 void SetClientToken(ClientTokenT&& value) {
122 m_clientTokenHasBeenSet = true;
123 m_clientToken = std::forward<ClientTokenT>(value);
124 }
125 template <typename ClientTokenT = Aws::String>
127 SetClientToken(std::forward<ClientTokenT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_accountId;
133
134 Aws::String m_profileName;
135
136 Aws::String m_description;
137
139
140 Aws::String m_clientToken;
141 bool m_accountIdHasBeenSet = false;
142 bool m_profileNameHasBeenSet = false;
143 bool m_descriptionHasBeenSet = false;
144 bool m_resourceLimitsHasBeenSet = false;
145 bool m_clientTokenHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
CreateLimitsProfileRequest & WithDescription(DescriptionT &&value)
const Aws::Map< ResourceType, ProfileLimitValue > & GetResourceLimits() const
CreateLimitsProfileRequest & WithClientToken(ClientTokenT &&value)
CreateLimitsProfileRequest & AddResourceLimits(ResourceType key, ProfileLimitValue value)
AWS_QUICKSIGHT_API CreateLimitsProfileRequest()=default
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateLimitsProfileRequest & WithProfileName(ProfileNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateLimitsProfileRequest & WithAccountId(AccountIdT &&value)
CreateLimitsProfileRequest & WithResourceLimits(ResourceLimitsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String