AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
71 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
72 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
73 template <typename PolicyStoreIdT = Aws::String>
74 void SetPolicyStoreId(PolicyStoreIdT&& value) {
75 m_policyStoreIdHasBeenSet = true;
76 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
77 }
78 template <typename PolicyStoreIdT = Aws::String>
80 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
81 return *this;
82 }
84
86
90 inline const Configuration& GetConfiguration() const { return m_configuration; }
91 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
92 template <typename ConfigurationT = Configuration>
93 void SetConfiguration(ConfigurationT&& value) {
94 m_configurationHasBeenSet = true;
95 m_configuration = std::forward<ConfigurationT>(value);
96 }
97 template <typename ConfigurationT = Configuration>
99 SetConfiguration(std::forward<ConfigurationT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
110 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
111 template <typename PrincipalEntityTypeT = Aws::String>
112 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) {
113 m_principalEntityTypeHasBeenSet = true;
114 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
115 }
116 template <typename PrincipalEntityTypeT = Aws::String>
118 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
119 return *this;
120 }
122 private:
124
125 Aws::String m_policyStoreId;
126
127 Configuration m_configuration;
128
129 Aws::String m_principalEntityType;
130 bool m_clientTokenHasBeenSet = true;
131 bool m_policyStoreIdHasBeenSet = false;
132 bool m_configurationHasBeenSet = false;
133 bool m_principalEntityTypeHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace VerifiedPermissions
138} // 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