7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/BatchConfig.h>
11#include <aws/iot/model/HttpActionHeader.h>
12#include <aws/iot/model/HttpAuthorization.h>
46 template <
typename UrlT = Aws::String>
48 m_urlHasBeenSet =
true;
49 m_url = std::forward<UrlT>(value);
51 template <
typename UrlT = Aws::String>
53 SetUrl(std::forward<UrlT>(value));
69 template <
typename ConfirmationUrlT = Aws::String>
71 m_confirmationUrlHasBeenSet =
true;
72 m_confirmationUrl = std::forward<ConfirmationUrlT>(value);
74 template <
typename ConfirmationUrlT = Aws::String>
87 template <
typename HeadersT = Aws::Vector<HttpActionHeader>>
89 m_headersHasBeenSet =
true;
90 m_headers = std::forward<HeadersT>(value);
92 template <
typename HeadersT = Aws::Vector<HttpActionHeader>>
97 template <
typename HeadersT = HttpActionHeader>
99 m_headersHasBeenSet =
true;
100 m_headers.emplace_back(std::forward<HeadersT>(value));
111 template <
typename AuthT = HttpAuthorization>
113 m_authHasBeenSet =
true;
114 m_auth = std::forward<AuthT>(value);
116 template <
typename AuthT = HttpAuthorization>
118 SetAuth(std::forward<AuthT>(value));
131 m_enableBatchingHasBeenSet =
true;
132 m_enableBatching = value;
148 template <
typename BatchConfigT = BatchConfig>
150 m_batchConfigHasBeenSet =
true;
151 m_batchConfig = std::forward<BatchConfigT>(value);
153 template <
typename BatchConfigT = BatchConfig>
168 bool m_enableBatching{
false};
170 BatchConfig m_batchConfig;
171 bool m_urlHasBeenSet =
false;
172 bool m_confirmationUrlHasBeenSet =
false;
173 bool m_headersHasBeenSet =
false;
174 bool m_authHasBeenSet =
false;
175 bool m_enableBatchingHasBeenSet =
false;
176 bool m_batchConfigHasBeenSet =
false;
const Aws::Vector< HttpActionHeader > & GetHeaders() const
void SetUrl(UrlT &&value)
HttpAction & WithHeaders(HeadersT &&value)
HttpAction & WithConfirmationUrl(ConfirmationUrlT &&value)
AWS_IOT_API HttpAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfirmationUrl() const
const BatchConfig & GetBatchConfig() const
HttpAction & WithAuth(AuthT &&value)
bool BatchConfigHasBeenSet() const
void SetBatchConfig(BatchConfigT &&value)
HttpAction & AddHeaders(HeadersT &&value)
AWS_IOT_API HttpAction()=default
const HttpAuthorization & GetAuth() const
bool ConfirmationUrlHasBeenSet() const
bool UrlHasBeenSet() const
bool HeadersHasBeenSet() const
void SetConfirmationUrl(ConfirmationUrlT &&value)
HttpAction & WithBatchConfig(BatchConfigT &&value)
void SetAuth(AuthT &&value)
void SetEnableBatching(bool value)
bool AuthHasBeenSet() const
bool EnableBatchingHasBeenSet() const
AWS_IOT_API HttpAction(Aws::Utils::Json::JsonView jsonValue)
void SetHeaders(HeadersT &&value)
HttpAction & WithEnableBatching(bool value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetEnableBatching() const
const Aws::String & GetUrl() const
HttpAction & WithUrl(UrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue