7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/LogEventConfiguration.h>
12#include <aws/iot/model/LogLevel.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename RoleArnT = Aws::String>
40 m_roleArnHasBeenSet =
true;
41 m_roleArn = std::forward<RoleArnT>(value);
43 template <
typename RoleArnT = Aws::String>
56 m_defaultLogLevelHasBeenSet =
true;
57 m_defaultLogLevel = value;
71 m_disableAllLogsHasBeenSet =
true;
72 m_disableAllLogs = value;
85 template <
typename EventConfigurationsT = Aws::Vector<LogEventConfiguration>>
87 m_eventConfigurationsHasBeenSet =
true;
88 m_eventConfigurations = std::forward<EventConfigurationsT>(value);
90 template <
typename EventConfigurationsT = Aws::Vector<LogEventConfiguration>>
95 template <
typename EventConfigurationsT = LogEventConfiguration>
97 m_eventConfigurationsHasBeenSet =
true;
98 m_eventConfigurations.emplace_back(std::forward<EventConfigurationsT>(value));
106 template <
typename RequestIdT = Aws::String>
108 m_requestIdHasBeenSet =
true;
109 m_requestId = std::forward<RequestIdT>(value);
111 template <
typename RequestIdT = Aws::String>
124 bool m_disableAllLogs{
false};
130 bool m_roleArnHasBeenSet =
false;
131 bool m_defaultLogLevelHasBeenSet =
false;
132 bool m_disableAllLogsHasBeenSet =
false;
133 bool m_eventConfigurationsHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const Aws::Vector< LogEventConfiguration > & GetEventConfigurations() const
GetV2LoggingOptionsResult & WithRoleArn(RoleArnT &&value)
void SetDisableAllLogs(bool value)
GetV2LoggingOptionsResult & WithEventConfigurations(EventConfigurationsT &&value)
AWS_IOT_API GetV2LoggingOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetV2LoggingOptionsResult & WithDisableAllLogs(bool value)
const Aws::String & GetRoleArn() const
LogLevel GetDefaultLogLevel() const
const Aws::String & GetRequestId() const
void SetDefaultLogLevel(LogLevel value)
AWS_IOT_API GetV2LoggingOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetV2LoggingOptionsResult & WithRequestId(RequestIdT &&value)
bool GetDisableAllLogs() const
void SetRoleArn(RoleArnT &&value)
AWS_IOT_API GetV2LoggingOptionsResult()=default
GetV2LoggingOptionsResult & AddEventConfigurations(EventConfigurationsT &&value)
void SetEventConfigurations(EventConfigurationsT &&value)
GetV2LoggingOptionsResult & WithDefaultLogLevel(LogLevel 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