AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
UpdateIdentitySourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10#include <aws/verifiedpermissions/model/UpdateConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace VerifiedPermissions {
16namespace Model {
17
21 public:
22 AWS_VERIFIEDPERMISSIONS_API UpdateIdentitySourceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentitySource"; }
29
30 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
31
32 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
44 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
45 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
46 template <typename PolicyStoreIdT = Aws::String>
47 void SetPolicyStoreId(PolicyStoreIdT&& value) {
48 m_policyStoreIdHasBeenSet = true;
49 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
50 }
51 template <typename PolicyStoreIdT = Aws::String>
53 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
63 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
64 template <typename IdentitySourceIdT = Aws::String>
65 void SetIdentitySourceId(IdentitySourceIdT&& value) {
66 m_identitySourceIdHasBeenSet = true;
67 m_identitySourceId = std::forward<IdentitySourceIdT>(value);
68 }
69 template <typename IdentitySourceIdT = Aws::String>
71 SetIdentitySourceId(std::forward<IdentitySourceIdT>(value));
72 return *this;
73 }
75
77
81 inline const UpdateConfiguration& GetUpdateConfiguration() const { return m_updateConfiguration; }
82 inline bool UpdateConfigurationHasBeenSet() const { return m_updateConfigurationHasBeenSet; }
83 template <typename UpdateConfigurationT = UpdateConfiguration>
84 void SetUpdateConfiguration(UpdateConfigurationT&& value) {
85 m_updateConfigurationHasBeenSet = true;
86 m_updateConfiguration = std::forward<UpdateConfigurationT>(value);
87 }
88 template <typename UpdateConfigurationT = UpdateConfiguration>
90 SetUpdateConfiguration(std::forward<UpdateConfigurationT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
101 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
102 template <typename PrincipalEntityTypeT = Aws::String>
103 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) {
104 m_principalEntityTypeHasBeenSet = true;
105 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
106 }
107 template <typename PrincipalEntityTypeT = Aws::String>
109 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_policyStoreId;
115
116 Aws::String m_identitySourceId;
117
118 UpdateConfiguration m_updateConfiguration;
119
120 Aws::String m_principalEntityType;
121 bool m_policyStoreIdHasBeenSet = false;
122 bool m_identitySourceIdHasBeenSet = false;
123 bool m_updateConfigurationHasBeenSet = false;
124 bool m_principalEntityTypeHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace VerifiedPermissions
129} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
UpdateIdentitySourceRequest & WithPolicyStoreId(PolicyStoreIdT &&value)
UpdateIdentitySourceRequest & WithIdentitySourceId(IdentitySourceIdT &&value)
AWS_VERIFIEDPERMISSIONS_API UpdateIdentitySourceRequest()=default
UpdateIdentitySourceRequest & WithUpdateConfiguration(UpdateConfigurationT &&value)
UpdateIdentitySourceRequest & WithPrincipalEntityType(PrincipalEntityTypeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String