AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIdentitySourceRequest.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/UpdateConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace VerifiedPermissions
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VERIFIEDPERMISSIONS_API UpdateIdentitySourceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentitySource"; }
32
33 AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override;
34
35 AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
44 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
45 template<typename PolicyStoreIdT = Aws::String>
46 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
47 template<typename PolicyStoreIdT = Aws::String>
48 UpdateIdentitySourceRequest& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
56 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
57 template<typename IdentitySourceIdT = Aws::String>
58 void SetIdentitySourceId(IdentitySourceIdT&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::forward<IdentitySourceIdT>(value); }
59 template<typename IdentitySourceIdT = Aws::String>
60 UpdateIdentitySourceRequest& WithIdentitySourceId(IdentitySourceIdT&& value) { SetIdentitySourceId(std::forward<IdentitySourceIdT>(value)); return *this;}
62
64
68 inline const UpdateConfiguration& GetUpdateConfiguration() const { return m_updateConfiguration; }
69 inline bool UpdateConfigurationHasBeenSet() const { return m_updateConfigurationHasBeenSet; }
70 template<typename UpdateConfigurationT = UpdateConfiguration>
71 void SetUpdateConfiguration(UpdateConfigurationT&& value) { m_updateConfigurationHasBeenSet = true; m_updateConfiguration = std::forward<UpdateConfigurationT>(value); }
72 template<typename UpdateConfigurationT = UpdateConfiguration>
73 UpdateIdentitySourceRequest& WithUpdateConfiguration(UpdateConfigurationT&& value) { SetUpdateConfiguration(std::forward<UpdateConfigurationT>(value)); return *this;}
75
77
81 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
82 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
83 template<typename PrincipalEntityTypeT = Aws::String>
84 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::forward<PrincipalEntityTypeT>(value); }
85 template<typename PrincipalEntityTypeT = Aws::String>
86 UpdateIdentitySourceRequest& WithPrincipalEntityType(PrincipalEntityTypeT&& value) { SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value)); return *this;}
88 private:
89
90 Aws::String m_policyStoreId;
91 bool m_policyStoreIdHasBeenSet = false;
92
93 Aws::String m_identitySourceId;
94 bool m_identitySourceIdHasBeenSet = false;
95
96 UpdateConfiguration m_updateConfiguration;
97 bool m_updateConfigurationHasBeenSet = false;
98
99 Aws::String m_principalEntityType;
100 bool m_principalEntityTypeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace VerifiedPermissions
105} // 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