7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/Trace.h>
9#include <aws/iotsitewise/model/InvocationOutput.h>
10#include <aws/iotsitewise/model/ConflictingOperationException.h>
50 template<
typename TraceT = Trace>
51 void SetTrace(TraceT&& value) { m_traceHasBeenSet =
true; m_trace = std::forward<TraceT>(value); }
52 template<
typename TraceT = Trace>
62 template<
typename OutputT = InvocationOutput>
63 void SetOutput(OutputT&& value) { m_outputHasBeenSet =
true; m_output = std::forward<OutputT>(value); }
64 template<
typename OutputT = InvocationOutput>
72 template<
typename AccessDeniedExceptionT = IoTSiteWiseError>
73 void SetAccessDeniedException(AccessDeniedExceptionT&& value) { m_accessDeniedExceptionHasBeenSet =
true; m_accessDeniedException = std::forward<AccessDeniedExceptionT>(value); }
74 template<
typename AccessDeniedExceptionT = IoTSiteWiseError>
82 template<
typename ConflictingOperationExceptionT = ConflictingOperationException>
83 void SetConflictingOperationException(ConflictingOperationExceptionT&& value) { m_conflictingOperationExceptionHasBeenSet =
true; m_conflictingOperationException = std::forward<ConflictingOperationExceptionT>(value); }
84 template<
typename ConflictingOperationExceptionT = ConflictingOperationException>
92 template<
typename InternalFailureExceptionT = IoTSiteWiseError>
93 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet =
true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
94 template<
typename InternalFailureExceptionT = IoTSiteWiseError>
102 template<
typename Inval
idRequestExceptionT = IoTSiteWiseError>
103 void SetInvalidRequestException(InvalidRequestExceptionT&& value) { m_invalidRequestExceptionHasBeenSet =
true; m_invalidRequestException = std::forward<InvalidRequestExceptionT>(value); }
104 template<
typename Inval
idRequestExceptionT = IoTSiteWiseError>
112 template<
typename LimitExceededExceptionT = IoTSiteWiseError>
113 void SetLimitExceededException(LimitExceededExceptionT&& value) { m_limitExceededExceptionHasBeenSet =
true; m_limitExceededException = std::forward<LimitExceededExceptionT>(value); }
114 template<
typename LimitExceededExceptionT = IoTSiteWiseError>
122 template<
typename ResourceNotFoundExceptionT = IoTSiteWiseError>
123 void SetResourceNotFoundException(ResourceNotFoundExceptionT&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value); }
124 template<
typename ResourceNotFoundExceptionT = IoTSiteWiseError>
132 template<
typename ThrottlingExceptionT = IoTSiteWiseError>
133 void SetThrottlingException(ThrottlingExceptionT&& value) { m_throttlingExceptionHasBeenSet =
true; m_throttlingException = std::forward<ThrottlingExceptionT>(value); }
134 template<
typename ThrottlingExceptionT = IoTSiteWiseError>
140 bool m_traceHasBeenSet =
false;
143 bool m_outputHasBeenSet =
false;
146 bool m_accessDeniedExceptionHasBeenSet =
false;
149 bool m_conflictingOperationExceptionHasBeenSet =
false;
152 bool m_internalFailureExceptionHasBeenSet =
false;
155 bool m_invalidRequestExceptionHasBeenSet =
false;
158 bool m_limitExceededExceptionHasBeenSet =
false;
161 bool m_resourceNotFoundExceptionHasBeenSet =
false;
164 bool m_throttlingExceptionHasBeenSet =
false;
bool ResourceNotFoundExceptionHasBeenSet() const
ResponseStream & WithTrace(TraceT &&value)
ResponseStream & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
ResponseStream & WithInvalidRequestException(InvalidRequestExceptionT &&value)
ResponseStream & WithOutput(OutputT &&value)
void SetInvalidRequestException(InvalidRequestExceptionT &&value)
const InvocationOutput & GetOutput() const
const IoTSiteWiseError & GetResourceNotFoundException() const
bool LimitExceededExceptionHasBeenSet() const
ResponseStream & WithThrottlingException(ThrottlingExceptionT &&value)
ResponseStream & WithLimitExceededException(LimitExceededExceptionT &&value)
const IoTSiteWiseError & GetInvalidRequestException() const
bool AccessDeniedExceptionHasBeenSet() const
const IoTSiteWiseError & GetAccessDeniedException() const
AWS_IOTSITEWISE_API ResponseStream()=default
bool OutputHasBeenSet() const
AWS_IOTSITEWISE_API ResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConflictingOperationExceptionHasBeenSet() const
bool TraceHasBeenSet() const
void SetLimitExceededException(LimitExceededExceptionT &&value)
void SetTrace(TraceT &&value)
ResponseStream & WithConflictingOperationException(ConflictingOperationExceptionT &&value)
const IoTSiteWiseError & GetInternalFailureException() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseStream & WithInternalFailureException(InternalFailureExceptionT &&value)
AWS_IOTSITEWISE_API ResponseStream(Aws::Utils::Json::JsonView jsonValue)
bool ThrottlingExceptionHasBeenSet() const
const Trace & GetTrace() const
bool InternalFailureExceptionHasBeenSet() const
void SetThrottlingException(ThrottlingExceptionT &&value)
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
const ConflictingOperationException & GetConflictingOperationException() const
bool InvalidRequestExceptionHasBeenSet() const
ResponseStream & WithAccessDeniedException(AccessDeniedExceptionT &&value)
void SetInternalFailureException(InternalFailureExceptionT &&value)
void SetConflictingOperationException(ConflictingOperationExceptionT &&value)
void SetOutput(OutputT &&value)
const IoTSiteWiseError & GetLimitExceededException() const
const IoTSiteWiseError & GetThrottlingException() const
void SetAccessDeniedException(AccessDeniedExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue