AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
39 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
40 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
41 template <typename PolicyStoreIdT = Aws::String>
42 void SetPolicyStoreId(PolicyStoreIdT&& value) {
43 m_policyStoreIdHasBeenSet = true;
44 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
45 }
46 template <typename PolicyStoreIdT = Aws::String>
48 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
58 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
59 template <typename IdentitySourceIdT = Aws::String>
60 void SetIdentitySourceId(IdentitySourceIdT&& value) {
61 m_identitySourceIdHasBeenSet = true;
62 m_identitySourceId = std::forward<IdentitySourceIdT>(value);
63 }
64 template <typename IdentitySourceIdT = Aws::String>
66 SetIdentitySourceId(std::forward<IdentitySourceIdT>(value));
67 return *this;
68 }
70
72
76 inline const UpdateConfiguration& GetUpdateConfiguration() const { return m_updateConfiguration; }
77 inline bool UpdateConfigurationHasBeenSet() const { return m_updateConfigurationHasBeenSet; }
78 template <typename UpdateConfigurationT = UpdateConfiguration>
79 void SetUpdateConfiguration(UpdateConfigurationT&& value) {
80 m_updateConfigurationHasBeenSet = true;
81 m_updateConfiguration = std::forward<UpdateConfigurationT>(value);
82 }
83 template <typename UpdateConfigurationT = UpdateConfiguration>
85 SetUpdateConfiguration(std::forward<UpdateConfigurationT>(value));
86 return *this;
87 }
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) {
99 m_principalEntityTypeHasBeenSet = true;
100 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
101 }
102 template <typename PrincipalEntityTypeT = Aws::String>
104 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_policyStoreId;
110
111 Aws::String m_identitySourceId;
112
113 UpdateConfiguration m_updateConfiguration;
114
115 Aws::String m_principalEntityType;
116 bool m_policyStoreIdHasBeenSet = false;
117 bool m_identitySourceIdHasBeenSet = false;
118 bool m_updateConfigurationHasBeenSet = false;
119 bool m_principalEntityTypeHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace VerifiedPermissions
124} // 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