AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotDetails.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/SnapshotStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KinesisAnalyticsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API SnapshotDetails();
39 AWS_KINESISANALYTICSV2_API SnapshotDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API SnapshotDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
49 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
50 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
51 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
52 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
53 inline SnapshotDetails& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
54 inline SnapshotDetails& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
55 inline SnapshotDetails& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
57
59
62 inline const SnapshotStatus& GetSnapshotStatus() const{ return m_snapshotStatus; }
63 inline bool SnapshotStatusHasBeenSet() const { return m_snapshotStatusHasBeenSet; }
64 inline void SetSnapshotStatus(const SnapshotStatus& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = value; }
65 inline void SetSnapshotStatus(SnapshotStatus&& value) { m_snapshotStatusHasBeenSet = true; m_snapshotStatus = std::move(value); }
66 inline SnapshotDetails& WithSnapshotStatus(const SnapshotStatus& value) { SetSnapshotStatus(value); return *this;}
67 inline SnapshotDetails& WithSnapshotStatus(SnapshotStatus&& value) { SetSnapshotStatus(std::move(value)); return *this;}
69
71
74 inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
75 inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; }
76 inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; }
77 inline SnapshotDetails& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetSnapshotCreationTimestamp() const{ return m_snapshotCreationTimestamp; }
85 inline bool SnapshotCreationTimestampHasBeenSet() const { return m_snapshotCreationTimestampHasBeenSet; }
86 inline void SetSnapshotCreationTimestamp(const Aws::Utils::DateTime& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = value; }
87 inline void SetSnapshotCreationTimestamp(Aws::Utils::DateTime&& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = std::move(value); }
91
93
96 inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; }
97 inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
98 inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; }
99 inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); }
101 inline SnapshotDetails& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_snapshotName;
106 bool m_snapshotNameHasBeenSet = false;
107
108 SnapshotStatus m_snapshotStatus;
109 bool m_snapshotStatusHasBeenSet = false;
110
111 long long m_applicationVersionId;
112 bool m_applicationVersionIdHasBeenSet = false;
113
114 Aws::Utils::DateTime m_snapshotCreationTimestamp;
115 bool m_snapshotCreationTimestampHasBeenSet = false;
116
117 RuntimeEnvironment m_runtimeEnvironment;
118 bool m_runtimeEnvironmentHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace KinesisAnalyticsV2
123} // namespace Aws
void SetSnapshotStatus(const SnapshotStatus &value)
SnapshotDetails & WithSnapshotStatus(const SnapshotStatus &value)
SnapshotDetails & WithRuntimeEnvironment(const RuntimeEnvironment &value)
SnapshotDetails & WithRuntimeEnvironment(RuntimeEnvironment &&value)
SnapshotDetails & WithSnapshotName(const Aws::String &value)
SnapshotDetails & WithSnapshotCreationTimestamp(const Aws::Utils::DateTime &value)
void SetSnapshotCreationTimestamp(Aws::Utils::DateTime &&value)
const SnapshotStatus & GetSnapshotStatus() const
SnapshotDetails & WithSnapshotName(Aws::String &&value)
SnapshotDetails & WithApplicationVersionId(long long value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
SnapshotDetails & WithSnapshotStatus(SnapshotStatus &&value)
AWS_KINESISANALYTICSV2_API SnapshotDetails()
AWS_KINESISANALYTICSV2_API SnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
SnapshotDetails & WithSnapshotName(const char *value)
SnapshotDetails & WithSnapshotCreationTimestamp(Aws::Utils::DateTime &&value)
void SetSnapshotCreationTimestamp(const Aws::Utils::DateTime &value)
void SetSnapshotName(const Aws::String &value)
const Aws::Utils::DateTime & GetSnapshotCreationTimestamp() const
void SetRuntimeEnvironment(const RuntimeEnvironment &value)
AWS_KINESISANALYTICSV2_API SnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuntimeEnvironment(RuntimeEnvironment &&value)
const RuntimeEnvironment & GetRuntimeEnvironment() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue