AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
CreateIdentitySourceRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11#include <aws/verifiedpermissions/model/Configuration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace VerifiedPermissions {
17namespace Model {
18
22 public:
23 AWS_VERIFIEDPERMISSIONS_API CreateIdentitySourceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateIdentitySource"; }
30
31 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
32
33 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
51 inline const Aws::String& GetClientToken() const { return m_clientToken; }
52 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
53 template <typename ClientTokenT = Aws::String>
54 void SetClientToken(ClientTokenT&& value) {
55 m_clientTokenHasBeenSet = true;
56 m_clientToken = std::forward<ClientTokenT>(value);
57 }
58 template <typename ClientTokenT = Aws::String>
60 SetClientToken(std::forward<ClientTokenT>(value));
61 return *this;
62 }
64
66
77 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
78 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
79 template <typename PolicyStoreIdT = Aws::String>
80 void SetPolicyStoreId(PolicyStoreIdT&& value) {
81 m_policyStoreIdHasBeenSet = true;
82 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
83 }
84 template <typename PolicyStoreIdT = Aws::String>
86 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
87 return *this;
88 }
90
92
96 inline const Configuration& GetConfiguration() const { return m_configuration; }
97 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
98 template <typename ConfigurationT = Configuration>
99 void SetConfiguration(ConfigurationT&& value) {
100 m_configurationHasBeenSet = true;
101 m_configuration = std::forward<ConfigurationT>(value);
102 }
103 template <typename ConfigurationT = Configuration>
105 SetConfiguration(std::forward<ConfigurationT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
116 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
117 template <typename PrincipalEntityTypeT = Aws::String>
118 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) {
119 m_principalEntityTypeHasBeenSet = true;
120 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
121 }
122 template <typename PrincipalEntityTypeT = Aws::String>
124 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
125 return *this;
126 }
128 private:
130
131 Aws::String m_policyStoreId;
132
133 Configuration m_configuration;
134
135 Aws::String m_principalEntityType;
136 bool m_clientTokenHasBeenSet = true;
137 bool m_policyStoreIdHasBeenSet = false;
138 bool m_configurationHasBeenSet = false;
139 bool m_principalEntityTypeHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace VerifiedPermissions
144} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateIdentitySourceRequest & WithPrincipalEntityType(PrincipalEntityTypeT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
CreateIdentitySourceRequest & WithClientToken(ClientTokenT &&value)
AWS_VERIFIEDPERMISSIONS_API CreateIdentitySourceRequest()=default
CreateIdentitySourceRequest & WithPolicyStoreId(PolicyStoreIdT &&value)
CreateIdentitySourceRequest & WithConfiguration(ConfigurationT &&value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String