7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/model/HttpAuthorization.h>
11#include <aws/iot/model/HttpActionHeader.h>
51 template<
typename UrlT = Aws::String>
52 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
53 template<
typename UrlT = Aws::String>
68 template<
typename ConfirmationUrlT = Aws::String>
69 void SetConfirmationUrl(ConfirmationUrlT&& value) { m_confirmationUrlHasBeenSet =
true; m_confirmationUrl = std::forward<ConfirmationUrlT>(value); }
70 template<
typename ConfirmationUrlT = Aws::String>
80 template<
typename HeadersT = Aws::Vector<HttpActionHeader>>
81 void SetHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers = std::forward<HeadersT>(value); }
82 template<
typename HeadersT = Aws::Vector<HttpActionHeader>>
84 template<
typename HeadersT = HttpActionHeader>
85 HttpAction&
AddHeaders(HeadersT&& value) { m_headersHasBeenSet =
true; m_headers.emplace_back(std::forward<HeadersT>(value));
return *
this; }
94 template<
typename AuthT = HttpAuthorization>
95 void SetAuth(AuthT&& value) { m_authHasBeenSet =
true; m_auth = std::forward<AuthT>(value); }
96 template<
typename AuthT = HttpAuthorization>
102 bool m_urlHasBeenSet =
false;
105 bool m_confirmationUrlHasBeenSet =
false;
108 bool m_headersHasBeenSet =
false;
111 bool m_authHasBeenSet =
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
HttpAction & WithAuth(AuthT &&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)
void SetAuth(AuthT &&value)
bool AuthHasBeenSet() const
AWS_IOT_API HttpAction(Aws::Utils::Json::JsonView jsonValue)
void SetHeaders(HeadersT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() 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