AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
UpdateSecurityConfigRequest.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/SamlConfigOptions.h>
11#include <aws/opensearchserverless/model/UpdateIamIdentityCenterConfigOptions.h>
12#include <aws/opensearchserverless/model/IamFederationConfigOptions.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace OpenSearchServerless
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_OPENSEARCHSERVERLESS_API UpdateSecurityConfigRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityConfig"; }
35
36 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
37
38 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 UpdateSecurityConfigRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
61 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
62 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
63 template<typename ConfigVersionT = Aws::String>
64 void SetConfigVersion(ConfigVersionT&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::forward<ConfigVersionT>(value); }
65 template<typename ConfigVersionT = Aws::String>
66 UpdateSecurityConfigRequest& WithConfigVersion(ConfigVersionT&& value) { SetConfigVersion(std::forward<ConfigVersionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 UpdateSecurityConfigRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
85 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
86 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
87 template<typename SamlOptionsT = SamlConfigOptions>
88 void SetSamlOptions(SamlOptionsT&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::forward<SamlOptionsT>(value); }
89 template<typename SamlOptionsT = SamlConfigOptions>
90 UpdateSecurityConfigRequest& WithSamlOptions(SamlOptionsT&& value) { SetSamlOptions(std::forward<SamlOptionsT>(value)); return *this;}
92
94
97 inline const UpdateIamIdentityCenterConfigOptions& GetIamIdentityCenterOptionsUpdates() const { return m_iamIdentityCenterOptionsUpdates; }
98 inline bool IamIdentityCenterOptionsUpdatesHasBeenSet() const { return m_iamIdentityCenterOptionsUpdatesHasBeenSet; }
99 template<typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
100 void SetIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) { m_iamIdentityCenterOptionsUpdatesHasBeenSet = true; m_iamIdentityCenterOptionsUpdates = std::forward<IamIdentityCenterOptionsUpdatesT>(value); }
101 template<typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
102 UpdateSecurityConfigRequest& WithIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) { SetIamIdentityCenterOptionsUpdates(std::forward<IamIdentityCenterOptionsUpdatesT>(value)); return *this;}
104
106
111 inline const IamFederationConfigOptions& GetIamFederationOptions() const { return m_iamFederationOptions; }
112 inline bool IamFederationOptionsHasBeenSet() const { return m_iamFederationOptionsHasBeenSet; }
113 template<typename IamFederationOptionsT = IamFederationConfigOptions>
114 void SetIamFederationOptions(IamFederationOptionsT&& value) { m_iamFederationOptionsHasBeenSet = true; m_iamFederationOptions = std::forward<IamFederationOptionsT>(value); }
115 template<typename IamFederationOptionsT = IamFederationConfigOptions>
116 UpdateSecurityConfigRequest& WithIamFederationOptions(IamFederationOptionsT&& value) { SetIamFederationOptions(std::forward<IamFederationOptionsT>(value)); return *this;}
118
120
123 inline const Aws::String& GetClientToken() const { return m_clientToken; }
124 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
125 template<typename ClientTokenT = Aws::String>
126 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
127 template<typename ClientTokenT = Aws::String>
128 UpdateSecurityConfigRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
130 private:
131
132 Aws::String m_id;
133 bool m_idHasBeenSet = false;
134
135 Aws::String m_configVersion;
136 bool m_configVersionHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 SamlConfigOptions m_samlOptions;
142 bool m_samlOptionsHasBeenSet = false;
143
144 UpdateIamIdentityCenterConfigOptions m_iamIdentityCenterOptionsUpdates;
145 bool m_iamIdentityCenterOptionsUpdatesHasBeenSet = false;
146
147 IamFederationConfigOptions m_iamFederationOptions;
148 bool m_iamFederationOptionsHasBeenSet = false;
149
151 bool m_clientTokenHasBeenSet = true;
152 };
153
154} // namespace Model
155} // namespace OpenSearchServerless
156} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
UpdateSecurityConfigRequest & WithIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT &&value)
UpdateSecurityConfigRequest & WithConfigVersion(ConfigVersionT &&value)
const UpdateIamIdentityCenterConfigOptions & GetIamIdentityCenterOptionsUpdates() const
UpdateSecurityConfigRequest & WithSamlOptions(SamlOptionsT &&value)
UpdateSecurityConfigRequest & WithIamFederationOptions(IamFederationOptionsT &&value)
UpdateSecurityConfigRequest & WithClientToken(ClientTokenT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateSecurityConfigRequest()=default
UpdateSecurityConfigRequest & WithDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String