7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ArchiveState.h>
10#include <aws/core/utils/DateTime.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
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); }
UpdateArchiveResult & WithState(const ArchiveState &value)
void SetArchiveArn(const Aws::String &value)
UpdateArchiveResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateArchiveResult & WithStateReason(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetStateReason() const
void SetRequestId(const char *value)
void SetState(ArchiveState &&value)
const Aws::String & GetArchiveArn() const
UpdateArchiveResult & WithStateReason(Aws::String &&value)
void SetStateReason(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
UpdateArchiveResult & WithState(ArchiveState &&value)
void SetState(const ArchiveState &value)
UpdateArchiveResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateArchiveResult & WithArchiveArn(const char *value)
UpdateArchiveResult & WithRequestId(const char *value)
AWS_EVENTBRIDGE_API UpdateArchiveResult()
const Aws::Utils::DateTime & GetCreationTime() const
void SetArchiveArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
UpdateArchiveResult & WithRequestId(Aws::String &&value)
void SetStateReason(Aws::String &&value)
UpdateArchiveResult & WithStateReason(const char *value)
AWS_EVENTBRIDGE_API UpdateArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API UpdateArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ArchiveState & GetState() const
void SetArchiveArn(const char *value)
UpdateArchiveResult & WithArchiveArn(const Aws::String &value)
UpdateArchiveResult & WithRequestId(const Aws::String &value)
void SetStateReason(const Aws::String &value)
UpdateArchiveResult & WithArchiveArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue