AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/UpdateIamIdentityCenterConfigOptions.h>
11#include <aws/opensearchserverless/model/SamlConfigOptions.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();
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
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline UpdateSecurityConfigRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline UpdateSecurityConfigRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline UpdateSecurityConfigRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
60 inline const Aws::String& GetConfigVersion() const{ return m_configVersion; }
61 inline bool ConfigVersionHasBeenSet() const { return m_configVersionHasBeenSet; }
62 inline void SetConfigVersion(const Aws::String& value) { m_configVersionHasBeenSet = true; m_configVersion = value; }
63 inline void SetConfigVersion(Aws::String&& value) { m_configVersionHasBeenSet = true; m_configVersion = std::move(value); }
64 inline void SetConfigVersion(const char* value) { m_configVersionHasBeenSet = true; m_configVersion.assign(value); }
65 inline UpdateSecurityConfigRequest& WithConfigVersion(const Aws::String& value) { SetConfigVersion(value); return *this;}
66 inline UpdateSecurityConfigRequest& WithConfigVersion(Aws::String&& value) { SetConfigVersion(std::move(value)); return *this;}
67 inline UpdateSecurityConfigRequest& WithConfigVersion(const char* value) { SetConfigVersion(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline UpdateSecurityConfigRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline UpdateSecurityConfigRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline UpdateSecurityConfigRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const UpdateIamIdentityCenterConfigOptions& GetIamIdentityCenterOptionsUpdates() const{ return m_iamIdentityCenterOptionsUpdates; }
89 inline bool IamIdentityCenterOptionsUpdatesHasBeenSet() const { return m_iamIdentityCenterOptionsUpdatesHasBeenSet; }
90 inline void SetIamIdentityCenterOptionsUpdates(const UpdateIamIdentityCenterConfigOptions& value) { m_iamIdentityCenterOptionsUpdatesHasBeenSet = true; m_iamIdentityCenterOptionsUpdates = value; }
91 inline void SetIamIdentityCenterOptionsUpdates(UpdateIamIdentityCenterConfigOptions&& value) { m_iamIdentityCenterOptionsUpdatesHasBeenSet = true; m_iamIdentityCenterOptionsUpdates = std::move(value); }
95
97
102 inline const Aws::String& GetId() const{ return m_id; }
103 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
104 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
105 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
106 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 inline UpdateSecurityConfigRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
108 inline UpdateSecurityConfigRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
109 inline UpdateSecurityConfigRequest& WithId(const char* value) { SetId(value); return *this;}
111
113
116 inline const SamlConfigOptions& GetSamlOptions() const{ return m_samlOptions; }
117 inline bool SamlOptionsHasBeenSet() const { return m_samlOptionsHasBeenSet; }
118 inline void SetSamlOptions(const SamlConfigOptions& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = value; }
119 inline void SetSamlOptions(SamlConfigOptions&& value) { m_samlOptionsHasBeenSet = true; m_samlOptions = std::move(value); }
121 inline UpdateSecurityConfigRequest& WithSamlOptions(SamlConfigOptions&& value) { SetSamlOptions(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_clientToken;
126 bool m_clientTokenHasBeenSet = false;
127
128 Aws::String m_configVersion;
129 bool m_configVersionHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 UpdateIamIdentityCenterConfigOptions m_iamIdentityCenterOptionsUpdates;
135 bool m_iamIdentityCenterOptionsUpdatesHasBeenSet = false;
136
137 Aws::String m_id;
138 bool m_idHasBeenSet = false;
139
140 SamlConfigOptions m_samlOptions;
141 bool m_samlOptionsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace OpenSearchServerless
146} // namespace Aws
UpdateSecurityConfigRequest & WithDescription(const char *value)
UpdateSecurityConfigRequest & WithConfigVersion(Aws::String &&value)
void SetIamIdentityCenterOptionsUpdates(const UpdateIamIdentityCenterConfigOptions &value)
UpdateSecurityConfigRequest & WithIamIdentityCenterOptionsUpdates(UpdateIamIdentityCenterConfigOptions &&value)
UpdateSecurityConfigRequest & WithSamlOptions(SamlConfigOptions &&value)
UpdateSecurityConfigRequest & WithId(const Aws::String &value)
UpdateSecurityConfigRequest & WithClientToken(Aws::String &&value)
UpdateSecurityConfigRequest & WithConfigVersion(const char *value)
UpdateSecurityConfigRequest & WithIamIdentityCenterOptionsUpdates(const UpdateIamIdentityCenterConfigOptions &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
const UpdateIamIdentityCenterConfigOptions & GetIamIdentityCenterOptionsUpdates() const
UpdateSecurityConfigRequest & WithClientToken(const Aws::String &value)
UpdateSecurityConfigRequest & WithDescription(Aws::String &&value)
UpdateSecurityConfigRequest & WithSamlOptions(const SamlConfigOptions &value)
UpdateSecurityConfigRequest & WithConfigVersion(const Aws::String &value)
UpdateSecurityConfigRequest & WithDescription(const Aws::String &value)
UpdateSecurityConfigRequest & WithId(Aws::String &&value)
UpdateSecurityConfigRequest & WithClientToken(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIamIdentityCenterOptionsUpdates(UpdateIamIdentityCenterConfigOptions &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String