AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
GetProxyConfigurationContentsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
12#include <aws/elb-proxy/model/ConfigurationMetadata.h>
13
14#include <utility>
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Cbor {
21class CborValue;
22} // namespace Cbor
23} // namespace Utils
24namespace ELBProxy {
25namespace Model {
27 public:
28 AWS_ELBPROXY_API GetProxyConfigurationContentsResult() = default;
31
33
37 inline const Aws::Utils::CryptoBuffer& GetConfigurationFileContents() const { return m_configurationFileContents; }
38 template <typename ConfigurationFileContentsT = Aws::Utils::CryptoBuffer>
39 void SetConfigurationFileContents(ConfigurationFileContentsT&& value) {
40 m_configurationFileContentsHasBeenSet = true;
41 m_configurationFileContents = std::forward<ConfigurationFileContentsT>(value);
42 }
43 template <typename ConfigurationFileContentsT = Aws::Utils::CryptoBuffer>
45 SetConfigurationFileContents(std::forward<ConfigurationFileContentsT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::Utils::CryptoBuffer& GetConfigurationArchiveContents() const { return m_configurationArchiveContents; }
56 template <typename ConfigurationArchiveContentsT = Aws::Utils::CryptoBuffer>
57 void SetConfigurationArchiveContents(ConfigurationArchiveContentsT&& value) {
58 m_configurationArchiveContentsHasBeenSet = true;
59 m_configurationArchiveContents = std::forward<ConfigurationArchiveContentsT>(value);
60 }
61 template <typename ConfigurationArchiveContentsT = Aws::Utils::CryptoBuffer>
63 SetConfigurationArchiveContents(std::forward<ConfigurationArchiveContentsT>(value));
64 return *this;
65 }
67
69
72 inline const ConfigurationMetadata& GetConfigurationMetadata() const { return m_configurationMetadata; }
73 template <typename ConfigurationMetadataT = ConfigurationMetadata>
74 void SetConfigurationMetadata(ConfigurationMetadataT&& value) {
75 m_configurationMetadataHasBeenSet = true;
76 m_configurationMetadata = std::forward<ConfigurationMetadataT>(value);
77 }
78 template <typename ConfigurationMetadataT = ConfigurationMetadata>
80 SetConfigurationMetadata(std::forward<ConfigurationMetadataT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetCustomerKmsKeyArn() const { return m_customerKmsKeyArn; }
90 template <typename CustomerKmsKeyArnT = Aws::String>
91 void SetCustomerKmsKeyArn(CustomerKmsKeyArnT&& value) {
92 m_customerKmsKeyArnHasBeenSet = true;
93 m_customerKmsKeyArn = std::forward<CustomerKmsKeyArnT>(value);
94 }
95 template <typename CustomerKmsKeyArnT = Aws::String>
97 SetCustomerKmsKeyArn(std::forward<CustomerKmsKeyArnT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::Utils::CryptoBuffer m_configurationFileContents{};
120
121 Aws::Utils::CryptoBuffer m_configurationArchiveContents{};
122
123 ConfigurationMetadata m_configurationMetadata;
124
125 Aws::String m_customerKmsKeyArn;
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_configurationFileContentsHasBeenSet = false;
130 bool m_configurationArchiveContentsHasBeenSet = false;
131 bool m_configurationMetadataHasBeenSet = false;
132 bool m_customerKmsKeyArnHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace ELBProxy
138} // namespace Aws
GetProxyConfigurationContentsResult & WithConfigurationArchiveContents(ConfigurationArchiveContentsT &&value)
GetProxyConfigurationContentsResult & WithCustomerKmsKeyArn(CustomerKmsKeyArnT &&value)
GetProxyConfigurationContentsResult & WithConfigurationMetadata(ConfigurationMetadataT &&value)
AWS_ELBPROXY_API GetProxyConfigurationContentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetProxyConfigurationContentsResult & WithConfigurationFileContents(ConfigurationFileContentsT &&value)
AWS_ELBPROXY_API GetProxyConfigurationContentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
GetProxyConfigurationContentsResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String