AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
58 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
59 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
60 inline CreateIdentitySourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
61 inline CreateIdentitySourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
62 inline CreateIdentitySourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
64
66
71 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
72 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
73 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
74 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
75 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
76 inline CreateIdentitySourceRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
77 inline CreateIdentitySourceRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
78 inline CreateIdentitySourceRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
80
82
86 inline const Configuration& GetConfiguration() const{ return m_configuration; }
87 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
88 inline void SetConfiguration(const Configuration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
89 inline void SetConfiguration(Configuration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
90 inline CreateIdentitySourceRequest& WithConfiguration(const Configuration& value) { SetConfiguration(value); return *this;}
91 inline CreateIdentitySourceRequest& WithConfiguration(Configuration&& value) { SetConfiguration(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetPrincipalEntityType() const{ return m_principalEntityType; }
100 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
101 inline void SetPrincipalEntityType(const Aws::String& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = value; }
102 inline void SetPrincipalEntityType(Aws::String&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::move(value); }
103 inline void SetPrincipalEntityType(const char* value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType.assign(value); }
106 inline CreateIdentitySourceRequest& WithPrincipalEntityType(const char* value) { SetPrincipalEntityType(value); return *this;}
108 private:
109
110 Aws::String m_clientToken;
111 bool m_clientTokenHasBeenSet = false;
112
113 Aws::String m_policyStoreId;
114 bool m_policyStoreIdHasBeenSet = false;
115
116 Configuration m_configuration;
117 bool m_configurationHasBeenSet = false;
118
119 Aws::String m_principalEntityType;
120 bool m_principalEntityTypeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace VerifiedPermissions
125} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
CreateIdentitySourceRequest & WithConfiguration(Configuration &&value)
CreateIdentitySourceRequest & WithPrincipalEntityType(const char *value)
CreateIdentitySourceRequest & WithPolicyStoreId(const Aws::String &value)
CreateIdentitySourceRequest & WithPolicyStoreId(const char *value)
CreateIdentitySourceRequest & WithPrincipalEntityType(Aws::String &&value)
CreateIdentitySourceRequest & WithClientToken(const char *value)
CreateIdentitySourceRequest & WithClientToken(Aws::String &&value)
CreateIdentitySourceRequest & WithClientToken(const Aws::String &value)
CreateIdentitySourceRequest & WithPrincipalEntityType(const Aws::String &value)
CreateIdentitySourceRequest & WithPolicyStoreId(Aws::String &&value)
CreateIdentitySourceRequest & WithConfiguration(const Configuration &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