7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ArchiveState.h>
10#include <aws/core/utils/DateTime.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchEvents
44 inline void SetArchiveArn(
const char* value) { m_archiveArn.assign(value); }
68 inline void SetStateReason(
const char* value) { m_stateReason.assign(value); }
90 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetArchiveArn(const char *value)
void SetState(const ArchiveState &value)
CreateArchiveResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateArchiveResult & WithStateReason(const char *value)
CreateArchiveResult & WithStateReason(const Aws::String &value)
const Aws::String & GetStateReason() const
CreateArchiveResult & WithStateReason(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API CreateArchiveResult()
CreateArchiveResult & WithRequestId(const char *value)
void SetArchiveArn(Aws::String &&value)
void SetStateReason(Aws::String &&value)
void SetRequestId(const char *value)
CreateArchiveResult & WithState(ArchiveState &&value)
CreateArchiveResult & WithArchiveArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
CreateArchiveResult & WithArchiveArn(const Aws::String &value)
CreateArchiveResult & WithArchiveArn(const char *value)
void SetArchiveArn(const Aws::String &value)
CreateArchiveResult & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVENTS_API CreateArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ArchiveState & GetState() const
CreateArchiveResult & WithState(const ArchiveState &value)
void SetRequestId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStateReason(const Aws::String &value)
void SetStateReason(const char *value)
CreateArchiveResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetArchiveArn() const
CreateArchiveResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_CLOUDWATCHEVENTS_API CreateArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(ArchiveState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue