AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
LimitsProfile.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
34 public:
35 AWS_QUICKSIGHT_API LimitsProfile() = default;
36 AWS_QUICKSIGHT_API LimitsProfile(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API LimitsProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetProfileId() const { return m_profileId; }
45 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
46 template <typename ProfileIdT = Aws::String>
47 void SetProfileId(ProfileIdT&& value) {
48 m_profileIdHasBeenSet = true;
49 m_profileId = std::forward<ProfileIdT>(value);
50 }
51 template <typename ProfileIdT = Aws::String>
52 LimitsProfile& WithProfileId(ProfileIdT&& value) {
53 SetProfileId(std::forward<ProfileIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetArn() const { return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 template <typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) {
66 m_arnHasBeenSet = true;
67 m_arn = std::forward<ArnT>(value);
68 }
69 template <typename ArnT = Aws::String>
70 LimitsProfile& WithArn(ArnT&& value) {
71 SetArn(std::forward<ArnT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetAccountId() const { return m_accountId; }
82 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
83 template <typename AccountIdT = Aws::String>
84 void SetAccountId(AccountIdT&& value) {
85 m_accountIdHasBeenSet = true;
86 m_accountId = std::forward<AccountIdT>(value);
87 }
88 template <typename AccountIdT = Aws::String>
89 LimitsProfile& WithAccountId(AccountIdT&& value) {
90 SetAccountId(std::forward<AccountIdT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetProfileName() const { return m_profileName; }
100 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
101 template <typename ProfileNameT = Aws::String>
102 void SetProfileName(ProfileNameT&& value) {
103 m_profileNameHasBeenSet = true;
104 m_profileName = std::forward<ProfileNameT>(value);
105 }
106 template <typename ProfileNameT = Aws::String>
107 LimitsProfile& WithProfileName(ProfileNameT&& value) {
108 SetProfileName(std::forward<ProfileNameT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template <typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) {
121 m_descriptionHasBeenSet = true;
122 m_description = std::forward<DescriptionT>(value);
123 }
124 template <typename DescriptionT = Aws::String>
125 LimitsProfile& WithDescription(DescriptionT&& value) {
126 SetDescription(std::forward<DescriptionT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Map<ResourceType, ProfileLimitValue>& GetResourceLimits() const { return m_resourceLimits; }
136 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
137 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
138 void SetResourceLimits(ResourceLimitsT&& value) {
139 m_resourceLimitsHasBeenSet = true;
140 m_resourceLimits = std::forward<ResourceLimitsT>(value);
141 }
142 template <typename ResourceLimitsT = Aws::Map<ResourceType, ProfileLimitValue>>
143 LimitsProfile& WithResourceLimits(ResourceLimitsT&& value) {
144 SetResourceLimits(std::forward<ResourceLimitsT>(value));
145 return *this;
146 }
148 m_resourceLimitsHasBeenSet = true;
149 m_resourceLimits.emplace(key, value);
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
159 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
160 template <typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) {
162 m_createdAtHasBeenSet = true;
163 m_createdAt = std::forward<CreatedAtT>(value);
164 }
165 template <typename CreatedAtT = Aws::Utils::DateTime>
166 LimitsProfile& WithCreatedAt(CreatedAtT&& value) {
167 SetCreatedAt(std::forward<CreatedAtT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
177 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
178 template <typename UpdatedAtT = Aws::Utils::DateTime>
179 void SetUpdatedAt(UpdatedAtT&& value) {
180 m_updatedAtHasBeenSet = true;
181 m_updatedAt = std::forward<UpdatedAtT>(value);
182 }
183 template <typename UpdatedAtT = Aws::Utils::DateTime>
184 LimitsProfile& WithUpdatedAt(UpdatedAtT&& value) {
185 SetUpdatedAt(std::forward<UpdatedAtT>(value));
186 return *this;
187 }
189 private:
190 Aws::String m_profileId;
191
192 Aws::String m_arn;
193
194 Aws::String m_accountId;
195
196 Aws::String m_profileName;
197
198 Aws::String m_description;
199
201
202 Aws::Utils::DateTime m_createdAt{};
203
204 Aws::Utils::DateTime m_updatedAt{};
205 bool m_profileIdHasBeenSet = false;
206 bool m_arnHasBeenSet = false;
207 bool m_accountIdHasBeenSet = false;
208 bool m_profileNameHasBeenSet = false;
209 bool m_descriptionHasBeenSet = false;
210 bool m_resourceLimitsHasBeenSet = false;
211 bool m_createdAtHasBeenSet = false;
212 bool m_updatedAtHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace QuickSight
217} // namespace Aws
AWS_QUICKSIGHT_API LimitsProfile(Aws::Utils::Json::JsonView jsonValue)
LimitsProfile & WithProfileName(ProfileNameT &&value)
const Aws::String & GetAccountId() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
LimitsProfile & WithCreatedAt(CreatedAtT &&value)
LimitsProfile & WithUpdatedAt(UpdatedAtT &&value)
LimitsProfile & WithDescription(DescriptionT &&value)
const Aws::String & GetProfileId() const
LimitsProfile & WithAccountId(AccountIdT &&value)
LimitsProfile & WithProfileId(ProfileIdT &&value)
const Aws::String & GetArn() const
void SetProfileId(ProfileIdT &&value)
void SetResourceLimits(ResourceLimitsT &&value)
const Aws::String & GetProfileName() const
const Aws::Map< ResourceType, ProfileLimitValue > & GetResourceLimits() const
AWS_QUICKSIGHT_API LimitsProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
void SetAccountId(AccountIdT &&value)
LimitsProfile & AddResourceLimits(ResourceType key, ProfileLimitValue value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetDescription() const
void SetProfileName(ProfileNameT &&value)
LimitsProfile & WithResourceLimits(ResourceLimitsT &&value)
AWS_QUICKSIGHT_API LimitsProfile()=default
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
LimitsProfile & WithArn(ArnT &&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
Aws::Utils::Json::JsonValue JsonValue