AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace OpenSearchServerless
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_OPENSEARCHSERVERLESS_API UpdateSecurityConfigRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityConfig"; }
34
35 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
36
37 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 UpdateSecurityConfigRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
60 inline const Aws::String& GetConfigVersion() const { return m_configVersion; }
61 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
62 template<typename ConfigVersionT = Aws::String>
63 void SetConfigVersion(ConfigVersionT&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::forward<ConfigVersionT>(value); }
64 template<typename ConfigVersionT = Aws::String>
65 UpdateSecurityConfigRequest& WithConfigVersion(ConfigVersionT&& value) { SetConfigVersion(std::forward<ConfigVersionT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 UpdateSecurityConfigRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline const SamlConfigOptions& GetSamlOptions() const { return m_samlOptions; }
85 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
86 template<typename SamlOptionsT = SamlConfigOptions>
87 void SetSamlOptions(SamlOptionsT&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::forward<SamlOptionsT>(value); }
88 template<typename SamlOptionsT = SamlConfigOptions>
89 UpdateSecurityConfigRequest& WithSamlOptions(SamlOptionsT&& value) { SetSamlOptions(std::forward<SamlOptionsT>(value)); return *this;}
91
93
96 inline const UpdateIamIdentityCenterConfigOptions& GetIamIdentityCenterOptionsUpdates() const { return m_iamIdentityCenterOptionsUpdates; }
97 inline bool IamIdentityCenterOptionsUpdatesHasBeenSet() const { return m_iamIdentityCenterOptionsUpdatesHasBeenSet; }
98 template<typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
99 void SetIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) { m_iamIdentityCenterOptionsUpdatesHasBeenSet = true; m_iamIdentityCenterOptionsUpdates = std::forward<IamIdentityCenterOptionsUpdatesT>(value); }
100 template<typename IamIdentityCenterOptionsUpdatesT = UpdateIamIdentityCenterConfigOptions>
101 UpdateSecurityConfigRequest& WithIamIdentityCenterOptionsUpdates(IamIdentityCenterOptionsUpdatesT&& value) { SetIamIdentityCenterOptionsUpdates(std::forward<IamIdentityCenterOptionsUpdatesT>(value)); return *this;}
103
105
108 inline const Aws::String& GetClientToken() const { return m_clientToken; }
109 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
110 template<typename ClientTokenT = Aws::String>
111 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
112 template<typename ClientTokenT = Aws::String>
113 UpdateSecurityConfigRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
115 private:
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_configVersion;
121 bool m_configVersionHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 SamlConfigOptions m_samlOptions;
127 bool m_samlOptionsHasBeenSet = false;
128
129 UpdateIamIdentityCenterConfigOptions m_iamIdentityCenterOptionsUpdates;
130 bool m_iamIdentityCenterOptionsUpdatesHasBeenSet = false;
131
133 bool m_clientTokenHasBeenSet = true;
134 };
135
136} // namespace Model
137} // namespace OpenSearchServerless
138} // 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 & 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