AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
46 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
47 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
48 inline UpdateIdentitySourceRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
49 inline UpdateIdentitySourceRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
50 inline UpdateIdentitySourceRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
52
54
57 inline const Aws::String& GetIdentitySourceId() const{ return m_identitySourceId; }
58 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
59 inline void SetIdentitySourceId(const Aws::String& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = value; }
60 inline void SetIdentitySourceId(Aws::String&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::move(value); }
61 inline void SetIdentitySourceId(const char* value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId.assign(value); }
63 inline UpdateIdentitySourceRequest& WithIdentitySourceId(Aws::String&& value) { SetIdentitySourceId(std::move(value)); return *this;}
64 inline UpdateIdentitySourceRequest& WithIdentitySourceId(const char* value) { SetIdentitySourceId(value); return *this;}
66
68
72 inline const UpdateConfiguration& GetUpdateConfiguration() const{ return m_updateConfiguration; }
73 inline bool UpdateConfigurationHasBeenSet() const { return m_updateConfigurationHasBeenSet; }
74 inline void SetUpdateConfiguration(const UpdateConfiguration& value) { m_updateConfigurationHasBeenSet = true; m_updateConfiguration = value; }
75 inline void SetUpdateConfiguration(UpdateConfiguration&& value) { m_updateConfigurationHasBeenSet = true; m_updateConfiguration = std::move(value); }
79
81
85 inline const Aws::String& GetPrincipalEntityType() const{ return m_principalEntityType; }
86 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
87 inline void SetPrincipalEntityType(const Aws::String& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = value; }
88 inline void SetPrincipalEntityType(Aws::String&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::move(value); }
89 inline void SetPrincipalEntityType(const char* value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType.assign(value); }
92 inline UpdateIdentitySourceRequest& WithPrincipalEntityType(const char* value) { SetPrincipalEntityType(value); return *this;}
94 private:
95
96 Aws::String m_policyStoreId;
97 bool m_policyStoreIdHasBeenSet = false;
98
99 Aws::String m_identitySourceId;
100 bool m_identitySourceIdHasBeenSet = false;
101
102 UpdateConfiguration m_updateConfiguration;
103 bool m_updateConfigurationHasBeenSet = false;
104
105 Aws::String m_principalEntityType;
106 bool m_principalEntityTypeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace VerifiedPermissions
111} // namespace Aws
UpdateIdentitySourceRequest & WithIdentitySourceId(const char *value)
UpdateIdentitySourceRequest & WithPrincipalEntityType(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
UpdateIdentitySourceRequest & WithUpdateConfiguration(const UpdateConfiguration &value)
UpdateIdentitySourceRequest & WithPrincipalEntityType(Aws::String &&value)
UpdateIdentitySourceRequest & WithIdentitySourceId(const Aws::String &value)
UpdateIdentitySourceRequest & WithIdentitySourceId(Aws::String &&value)
UpdateIdentitySourceRequest & WithPrincipalEntityType(const char *value)
UpdateIdentitySourceRequest & WithPolicyStoreId(const Aws::String &value)
UpdateIdentitySourceRequest & WithUpdateConfiguration(UpdateConfiguration &&value)
UpdateIdentitySourceRequest & WithPolicyStoreId(Aws::String &&value)
UpdateIdentitySourceRequest & WithPolicyStoreId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String