AWS SDK for C++: generated/src/aws-cpp-sdk-eventbridge/include/aws/eventbridge/model/Archive.h Source File

1

6#pragma once

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>

11#include <utility>

12

13namespace Aws

14{

15namespace Utils

16{

17namespace Json

18{

19 class JsonValue;

20 class JsonView;

21}

22}

23namespace EventBridge

24{

25namespace Model

26{

27

35 {

36 public:

41

42

47

52

57

62

66 inline void SetArchiveName(const char* value) { m_archiveNameHasBeenSet = true; m_archiveName.assign(value); }

67

72

77

82

83

89

95

101

107

112 inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); }

113

119

125

131

132

137

142

147

152

157

162

163

168

173

178

183

187 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }

188

193

198

203

204

210

216

221 inline void SetRetentionDays(int value) { m_retentionDaysHasBeenSet = true; m_retentionDays = value; }

222

228

229

234

239

243 inline void SetSizeBytes(long long value) { m_sizeBytesHasBeenSet = true; m_sizeBytes = value; }

244

249

250

255

260

264 inline void SetEventCount(long long value) { m_eventCountHasBeenSet = true; m_eventCount = value; }

265

270

271

276

281

286

291

296

301

302 private:

303

305 bool m_archiveNameHasBeenSet = false;

306

308 bool m_eventSourceArnHasBeenSet = false;

309

311 bool m_stateHasBeenSet = false;

312

314 bool m_stateReasonHasBeenSet = false;

315

316 int m_retentionDays;

317 bool m_retentionDaysHasBeenSet = false;

318

319 long long m_sizeBytes;

320 bool m_sizeBytesHasBeenSet = false;

321

322 long long m_eventCount;

323 bool m_eventCountHasBeenSet = false;

324

326 bool m_creationTimeHasBeenSet = false;

327 };

328

329}

330}

331}

void SetCreationTime(const Aws::Utils::DateTime &value)

Archive & WithEventCount(long long value)

void SetEventSourceArn(const Aws::String &value)

AWS_EVENTBRIDGE_API Archive()

Archive & WithArchiveName(const char *value)

void SetStateReason(Aws::String &&value)

bool CreationTimeHasBeenSet() const

Archive & WithArchiveName(const Aws::String &value)

Archive & WithEventSourceArn(const char *value)

const Aws::String & GetStateReason() const

void SetEventSourceArn(Aws::String &&value)

bool RetentionDaysHasBeenSet() const

bool EventSourceArnHasBeenSet() const

bool ArchiveNameHasBeenSet() const

const Aws::String & GetEventSourceArn() const

void SetStateReason(const Aws::String &value)

bool EventCountHasBeenSet() const

AWS_EVENTBRIDGE_API Archive(Aws::Utils::Json::JsonView jsonValue)

const Aws::String & GetArchiveName() const

Archive & WithEventSourceArn(const Aws::String &value)

Archive & WithState(ArchiveState &&value)

const Aws::Utils::DateTime & GetCreationTime() const

void SetArchiveName(const Aws::String &value)

void SetSizeBytes(long long value)

Archive & WithState(const ArchiveState &value)

void SetArchiveName(const char *value)

bool StateHasBeenSet() const

Archive & WithEventSourceArn(Aws::String &&value)

long long GetSizeBytes() const

void SetEventSourceArn(const char *value)

bool SizeBytesHasBeenSet() const

Archive & WithCreationTime(Aws::Utils::DateTime &&value)

Archive & WithRetentionDays(int value)

void SetState(const ArchiveState &value)

Archive & WithStateReason(Aws::String &&value)

Archive & WithStateReason(const char *value)

void SetState(ArchiveState &&value)

void SetCreationTime(Aws::Utils::DateTime &&value)

void SetStateReason(const char *value)

Archive & WithArchiveName(Aws::String &&value)

void SetArchiveName(Aws::String &&value)

long long GetEventCount() const

AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const

AWS_EVENTBRIDGE_API Archive & operator=(Aws::Utils::Json::JsonView jsonValue)

Archive & WithStateReason(const Aws::String &value)

void SetRetentionDays(int value)

void SetEventCount(long long value)

const ArchiveState & GetState() const

int GetRetentionDays() const

bool StateReasonHasBeenSet() const

Archive & WithCreationTime(const Aws::Utils::DateTime &value)

Archive & WithSizeBytes(long long value)

ArchiveState

std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String

You Might Also Like