7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/Alert.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchOmni {
38 template <
typename AlertArnT = Aws::String>
40 m_alertArnHasBeenSet =
true;
41 m_alertArn = std::forward<AlertArnT>(value);
43 template <
typename AlertArnT = Aws::String>
59 template <
typename AlertT = Alert>
61 m_alertHasBeenSet =
true;
62 m_alert = std::forward<AlertT>(value);
64 template <
typename AlertT = Alert>
66 SetAlert(std::forward<AlertT>(value));
74 template <
typename RequestIdT = Aws::String>
76 m_requestIdHasBeenSet =
true;
77 m_requestId = std::forward<RequestIdT>(value);
79 template <
typename RequestIdT = Aws::String>
94 bool m_alertArnHasBeenSet =
false;
95 bool m_alertHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
AWS_CLOUDWATCHOMNI_API CreateAlertResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
CreateAlertResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CLOUDWATCHOMNI_API CreateAlertResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetAlert(AlertT &&value)
void SetAlertArn(AlertArnT &&value)
const Alert & GetAlert() const
AWS_CLOUDWATCHOMNI_API CreateAlertResult()=default
CreateAlertResult & WithAlertArn(AlertArnT &&value)
CreateAlertResult & WithAlert(AlertT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetAlertArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String