AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIdentitySourceRequest.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/Configuration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace VerifiedPermissions
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_VERIFIEDPERMISSIONS_API CreateIdentitySourceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateIdentitySource"; }
33
34 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
35
36 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
55 inline const Aws::String& GetClientToken() const { return m_clientToken; }
56 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
57 template<typename ClientTokenT = Aws::String>
58 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
59 template<typename ClientTokenT = Aws::String>
60 CreateIdentitySourceRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
62
64
69 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
70 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
71 template<typename PolicyStoreIdT = Aws::String>
72 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
73 template<typename PolicyStoreIdT = Aws::String>
74 CreateIdentitySourceRequest& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
76
78
82 inline const Configuration& GetConfiguration() const { return m_configuration; }
83 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
84 template<typename ConfigurationT = Configuration>
85 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
86 template<typename ConfigurationT = Configuration>
87 CreateIdentitySourceRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
89
91
95 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
96 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
97 template<typename PrincipalEntityTypeT = Aws::String>
98 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::forward<PrincipalEntityTypeT>(value); }
99 template<typename PrincipalEntityTypeT = Aws::String>
100 CreateIdentitySourceRequest& WithPrincipalEntityType(PrincipalEntityTypeT&& value) { SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value)); return *this;}
102 private:
103
105 bool m_clientTokenHasBeenSet = true;
106
107 Aws::String m_policyStoreId;
108 bool m_policyStoreIdHasBeenSet = false;
109
110 Configuration m_configuration;
111 bool m_configurationHasBeenSet = false;
112
113 Aws::String m_principalEntityType;
114 bool m_principalEntityTypeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace VerifiedPermissions
119} // 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