AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
BatchDescribeUserLimitsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ResourceType.h>
12#include <aws/quicksight/model/UserLimitsEntry.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API BatchDescribeUserLimitsRequest() = 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 "BatchDescribeUserLimits"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
40 template <typename AccountIdT = Aws::String>
41 void SetAccountId(AccountIdT&& value) {
42 m_accountIdHasBeenSet = true;
43 m_accountId = std::forward<AccountIdT>(value);
44 }
45 template <typename AccountIdT = Aws::String>
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::Vector<UserLimitsEntry>& GetUsers() const { return m_users; }
58 inline bool UsersHasBeenSet() const { return m_usersHasBeenSet; }
59 template <typename UsersT = Aws::Vector<UserLimitsEntry>>
60 void SetUsers(UsersT&& value) {
61 m_usersHasBeenSet = true;
62 m_users = std::forward<UsersT>(value);
63 }
64 template <typename UsersT = Aws::Vector<UserLimitsEntry>>
66 SetUsers(std::forward<UsersT>(value));
67 return *this;
68 }
69 template <typename UsersT = UserLimitsEntry>
71 m_usersHasBeenSet = true;
72 m_users.emplace_back(std::forward<UsersT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::Vector<ResourceType>& GetResourceTypes() const { return m_resourceTypes; }
83 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
84 template <typename ResourceTypesT = Aws::Vector<ResourceType>>
85 void SetResourceTypes(ResourceTypesT&& value) {
86 m_resourceTypesHasBeenSet = true;
87 m_resourceTypes = std::forward<ResourceTypesT>(value);
88 }
89 template <typename ResourceTypesT = Aws::Vector<ResourceType>>
91 SetResourceTypes(std::forward<ResourceTypesT>(value));
92 return *this;
93 }
95 m_resourceTypesHasBeenSet = true;
96 m_resourceTypes.push_back(value);
97 return *this;
98 }
100 private:
101 Aws::String m_accountId;
102
104
105 Aws::Vector<ResourceType> m_resourceTypes;
106 bool m_accountIdHasBeenSet = false;
107 bool m_usersHasBeenSet = false;
108 bool m_resourceTypesHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
BatchDescribeUserLimitsRequest & WithAccountId(AccountIdT &&value)
AWS_QUICKSIGHT_API BatchDescribeUserLimitsRequest()=default
BatchDescribeUserLimitsRequest & WithUsers(UsersT &&value)
const Aws::Vector< UserLimitsEntry > & GetUsers() const
BatchDescribeUserLimitsRequest & AddResourceTypes(ResourceType value)
BatchDescribeUserLimitsRequest & AddUsers(UsersT &&value)
BatchDescribeUserLimitsRequest & WithResourceTypes(ResourceTypesT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector