7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/events/model/EventSourceState.h>
23namespace CloudWatchEvents
52 inline void SetAccount(
const char* value) { m_accountHasBeenSet =
true; m_account.assign(value); }
101 bool m_accountHasBeenSet =
false;
104 bool m_creationTimeHasBeenSet =
false;
107 bool m_expirationTimeHasBeenSet =
false;
110 bool m_stateHasBeenSet =
false;
const Aws::String & GetAccount() const
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
PartnerEventSourceAccount & WithAccount(const Aws::String &value)
void SetAccount(const Aws::String &value)
bool StateHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool ExpirationTimeHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVENTS_API PartnerEventSourceAccount()
PartnerEventSourceAccount & WithExpirationTime(const Aws::Utils::DateTime &value)
void SetState(EventSourceState &&value)
PartnerEventSourceAccount & WithState(EventSourceState &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetState(const EventSourceState &value)
const Aws::Utils::DateTime & GetExpirationTime() const
PartnerEventSourceAccount & WithAccount(const char *value)
PartnerEventSourceAccount & WithAccount(Aws::String &&value)
const EventSourceState & GetState() const
bool AccountHasBeenSet() const
PartnerEventSourceAccount & WithCreationTime(const Aws::Utils::DateTime &value)
PartnerEventSourceAccount & WithExpirationTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVENTS_API PartnerEventSourceAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API PartnerEventSourceAccount(Aws::Utils::Json::JsonView jsonValue)
void SetAccount(const char *value)
void SetExpirationTime(const Aws::Utils::DateTime &value)
PartnerEventSourceAccount & WithState(const EventSourceState &value)
void SetAccount(Aws::String &&value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
PartnerEventSourceAccount & WithCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue