7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
41 template <
typename OperationT = Aws::String>
43 m_operationHasBeenSet =
true;
44 m_operation = std::forward<OperationT>(value);
46 template <
typename OperationT = Aws::String>
59 template <
typename ServiceT = Aws::String>
61 m_serviceHasBeenSet =
true;
62 m_service = std::forward<ServiceT>(value);
64 template <
typename ServiceT = Aws::String>
77 template <
typename ErrorT = Aws::String>
79 m_errorHasBeenSet =
true;
80 m_error = std::forward<ErrorT>(value);
82 template <
typename ErrorT = Aws::String>
84 SetError(std::forward<ErrorT>(value));
95 template <
typename UserAgentT = Aws::String>
97 m_userAgentHasBeenSet =
true;
98 m_userAgent = std::forward<UserAgentT>(value);
100 template <
typename UserAgentT = Aws::String>
114 bool m_operationHasBeenSet =
false;
115 bool m_serviceHasBeenSet =
false;
116 bool m_errorHasBeenSet =
false;
117 bool m_userAgentHasBeenSet =
false;
ApiCall & WithOperation(OperationT &&value)
ApiCall & WithService(ServiceT &&value)
const Aws::String & GetError() const
void SetOperation(OperationT &&value)
AWS_GUARDDUTY_API ApiCall()=default
const Aws::String & GetUserAgent() const
void SetService(ServiceT &&value)
void SetError(ErrorT &&value)
bool OperationHasBeenSet() const
const Aws::String & GetService() const
ApiCall & WithError(ErrorT &&value)
ApiCall & WithUserAgent(UserAgentT &&value)
bool ErrorHasBeenSet() const
bool ServiceHasBeenSet() const
AWS_GUARDDUTY_API ApiCall & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserAgent(UserAgentT &&value)
bool UserAgentHasBeenSet() const
AWS_GUARDDUTY_API ApiCall(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOperation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue