AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
UpdateLimitsProfileRequest.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 UpdateLimitsProfileRequest() = 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 "UpdateLimitsProfile"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetProfileId() const { return m_profileId; }
39 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
40 template <typename ProfileIdT = Aws::String>
41 void SetProfileId(ProfileIdT&& value) {
42 m_profileIdHasBeenSet = true;
43 m_profileId = std::forward<ProfileIdT>(value);
44 }
45 template <typename ProfileIdT = Aws::String>
47 SetProfileId(std::forward<ProfileIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetAccountId() const { return m_accountId; }
58 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
59 template <typename AccountIdT = Aws::String>
60 void SetAccountId(AccountIdT&& value) {
61 m_accountIdHasBeenSet = true;
62 m_accountId = std::forward<AccountIdT>(value);
63 }
64 template <typename AccountIdT = Aws::String>
66 SetAccountId(std::forward<AccountIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetProfileName() const { return m_profileName; }
76 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
77 template <typename ProfileNameT = Aws::String>
78 void SetProfileName(ProfileNameT&& value) {
79 m_profileNameHasBeenSet = true;
80 m_profileName = std::forward<ProfileNameT>(value);
81 }
82 template <typename ProfileNameT = Aws::String>
84 SetProfileName(std::forward<ProfileNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Map<ResourceType, ProfileLimitValue>& GetResourceLimits() const { return m_resourceLimits; }
112 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
113 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
114 void SetResourceLimits(ResourceLimitsT&& value) {
115 m_resourceLimitsHasBeenSet = true;
116 m_resourceLimits = std::forward<ResourceLimitsT>(value);
117 }
118 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
120 SetResourceLimits(std::forward<ResourceLimitsT>(value));
121 return *this;
122 }
124 m_resourceLimitsHasBeenSet = true;
125 m_resourceLimits.emplace(key, value);
126 return *this;
127 }
129 private:
130 Aws::String m_profileId;
131
132 Aws::String m_accountId;
133
134 Aws::String m_profileName;
135
136 Aws::String m_description;
137
139 bool m_profileIdHasBeenSet = false;
140 bool m_accountIdHasBeenSet = false;
141 bool m_profileNameHasBeenSet = false;
142 bool m_descriptionHasBeenSet = false;
143 bool m_resourceLimitsHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace QuickSight
148} // namespace Aws
UpdateLimitsProfileRequest & AddResourceLimits(ResourceType key, ProfileLimitValue value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API UpdateLimitsProfileRequest()=default
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateLimitsProfileRequest & WithDescription(DescriptionT &&value)
UpdateLimitsProfileRequest & WithAccountId(AccountIdT &&value)
const Aws::Map< ResourceType, ProfileLimitValue > & GetResourceLimits() const
UpdateLimitsProfileRequest & WithResourceLimits(ResourceLimitsT &&value)
UpdateLimitsProfileRequest & WithProfileName(ProfileNameT &&value)
UpdateLimitsProfileRequest & WithProfileId(ProfileIdT &&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