AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateCredentialProviderPoolRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/credentialbroker-control/CredentialBrokerControlRequest.h>
11#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
12#include <aws/credentialbroker-control/model/EncryptionConfiguration.h>
13#include <aws/credentialbroker-control/model/IdentityCenterConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace CredentialBrokerControl {
19namespace Model {
20
24 public:
25 AWS_CREDENTIALBROKERCONTROL_API CreateCredentialProviderPoolRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateCredentialProviderPool"; }
32
33 AWS_CREDENTIALBROKERCONTROL_API Aws::String SerializePayload() const override;
34
36
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template <typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) {
63 m_clientTokenHasBeenSet = true;
64 m_clientToken = std::forward<ClientTokenT>(value);
65 }
66 template <typename ClientTokenT = Aws::String>
68 SetClientToken(std::forward<ClientTokenT>(value));
69 return *this;
70 }
72
74
79 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
80 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
81 template <typename EncryptionConfigurationT = EncryptionConfiguration>
82 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
83 m_encryptionConfigurationHasBeenSet = true;
84 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
85 }
86 template <typename EncryptionConfigurationT = EncryptionConfiguration>
88 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
89 return *this;
90 }
92
94
101 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
102 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
103 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
104 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
105 m_identityCenterConfigurationHasBeenSet = true;
106 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
107 }
108 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
110 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
122 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
123 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) {
125 m_tagsHasBeenSet = true;
126 m_tags = std::forward<TagsT>(value);
127 }
128 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 SetTags(std::forward<TagsT>(value));
131 return *this;
132 }
133 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
134 CreateCredentialProviderPoolRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_name;
142
144
145 EncryptionConfiguration m_encryptionConfiguration;
146
147 IdentityCenterConfiguration m_identityCenterConfiguration;
148
150 bool m_nameHasBeenSet = false;
151 bool m_clientTokenHasBeenSet = true;
152 bool m_encryptionConfigurationHasBeenSet = false;
153 bool m_identityCenterConfigurationHasBeenSet = false;
154 bool m_tagsHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace CredentialBrokerControl
159} // namespace Aws
CreateCredentialProviderPoolRequest & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
CreateCredentialProviderPoolRequest & WithClientToken(ClientTokenT &&value)
CreateCredentialProviderPoolRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CREDENTIALBROKERCONTROL_API CreateCredentialProviderPoolRequest()=default
AWS_CREDENTIALBROKERCONTROL_API Aws::String SerializePayload() const override
CreateCredentialProviderPoolRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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