AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
UpdateProxyConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elb-proxy/ELBProxyRequest.h>
9#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
10#include <aws/elb-proxy/model/ConfigurationArchive.h>
11#include <aws/elb-proxy/model/ConfigurationFile.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ELBProxy {
17namespace Model {
18
22 public:
23 AWS_ELBPROXY_API UpdateProxyConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateProxyConfiguration"; }
30
31 AWS_ELBPROXY_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetProxyIdentifier() const { return m_proxyIdentifier; }
40 inline bool ProxyIdentifierHasBeenSet() const { return m_proxyIdentifierHasBeenSet; }
41 template <typename ProxyIdentifierT = Aws::String>
42 void SetProxyIdentifier(ProxyIdentifierT&& value) {
43 m_proxyIdentifierHasBeenSet = true;
44 m_proxyIdentifier = std::forward<ProxyIdentifierT>(value);
45 }
46 template <typename ProxyIdentifierT = Aws::String>
48 SetProxyIdentifier(std::forward<ProxyIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const ConfigurationFile& GetConfigurationFile() const { return m_configurationFile; }
59 inline bool ConfigurationFileHasBeenSet() const { return m_configurationFileHasBeenSet; }
60 template <typename ConfigurationFileT = ConfigurationFile>
61 void SetConfigurationFile(ConfigurationFileT&& value) {
62 m_configurationFileHasBeenSet = true;
63 m_configurationFile = std::forward<ConfigurationFileT>(value);
64 }
65 template <typename ConfigurationFileT = ConfigurationFile>
67 SetConfigurationFile(std::forward<ConfigurationFileT>(value));
68 return *this;
69 }
71
73
77 inline const ConfigurationArchive& GetConfigurationArchive() const { return m_configurationArchive; }
78 inline bool ConfigurationArchiveHasBeenSet() const { return m_configurationArchiveHasBeenSet; }
79 template <typename ConfigurationArchiveT = ConfigurationArchive>
80 void SetConfigurationArchive(ConfigurationArchiveT&& value) {
81 m_configurationArchiveHasBeenSet = true;
82 m_configurationArchive = std::forward<ConfigurationArchiveT>(value);
83 }
84 template <typename ConfigurationArchiveT = ConfigurationArchive>
86 SetConfigurationArchive(std::forward<ConfigurationArchiveT>(value));
87 return *this;
88 }
90
92
95 inline bool GetResetConfigurationArchive() const { return m_resetConfigurationArchive; }
96 inline bool ResetConfigurationArchiveHasBeenSet() const { return m_resetConfigurationArchiveHasBeenSet; }
97 inline void SetResetConfigurationArchive(bool value) {
98 m_resetConfigurationArchiveHasBeenSet = true;
99 m_resetConfigurationArchive = value;
100 }
103 return *this;
104 }
106
108
113 inline const Aws::String& GetCustomerKmsKeyArn() const { return m_customerKmsKeyArn; }
114 inline bool CustomerKmsKeyArnHasBeenSet() const { return m_customerKmsKeyArnHasBeenSet; }
115 template <typename CustomerKmsKeyArnT = Aws::String>
116 void SetCustomerKmsKeyArn(CustomerKmsKeyArnT&& value) {
117 m_customerKmsKeyArnHasBeenSet = true;
118 m_customerKmsKeyArn = std::forward<CustomerKmsKeyArnT>(value);
119 }
120 template <typename CustomerKmsKeyArnT = Aws::String>
122 SetCustomerKmsKeyArn(std::forward<CustomerKmsKeyArnT>(value));
123 return *this;
124 }
126
128
132 inline bool GetResetCustomerKmsKeyArn() const { return m_resetCustomerKmsKeyArn; }
133 inline bool ResetCustomerKmsKeyArnHasBeenSet() const { return m_resetCustomerKmsKeyArnHasBeenSet; }
134 inline void SetResetCustomerKmsKeyArn(bool value) {
135 m_resetCustomerKmsKeyArnHasBeenSet = true;
136 m_resetCustomerKmsKeyArn = value;
137 }
140 return *this;
141 }
143 private:
144 Aws::String m_proxyIdentifier;
145
146 ConfigurationFile m_configurationFile;
147
148 ConfigurationArchive m_configurationArchive;
149
150 bool m_resetConfigurationArchive{false};
151
152 Aws::String m_customerKmsKeyArn;
153
154 bool m_resetCustomerKmsKeyArn{false};
155 bool m_proxyIdentifierHasBeenSet = false;
156 bool m_configurationFileHasBeenSet = false;
157 bool m_configurationArchiveHasBeenSet = false;
158 bool m_resetConfigurationArchiveHasBeenSet = false;
159 bool m_customerKmsKeyArnHasBeenSet = false;
160 bool m_resetCustomerKmsKeyArnHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace ELBProxy
165} // namespace Aws
UpdateProxyConfigurationRequest & WithConfigurationFile(ConfigurationFileT &&value)
UpdateProxyConfigurationRequest & WithResetCustomerKmsKeyArn(bool value)
UpdateProxyConfigurationRequest & WithCustomerKmsKeyArn(CustomerKmsKeyArnT &&value)
UpdateProxyConfigurationRequest & WithProxyIdentifier(ProxyIdentifierT &&value)
AWS_ELBPROXY_API Aws::String SerializePayload() const override
AWS_ELBPROXY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ELBPROXY_API UpdateProxyConfigurationRequest()=default
UpdateProxyConfigurationRequest & WithResetConfigurationArchive(bool value)
UpdateProxyConfigurationRequest & WithConfigurationArchive(ConfigurationArchiveT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String