AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationRestoreConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/ApplicationRestoreType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API ApplicationRestoreConfiguration();
37 AWS_KINESISANALYTICSV2_API ApplicationRestoreConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ApplicationRestoreType& GetApplicationRestoreType() const{ return m_applicationRestoreType; }
47 inline bool ApplicationRestoreTypeHasBeenSet() const { return m_applicationRestoreTypeHasBeenSet; }
48 inline void SetApplicationRestoreType(const ApplicationRestoreType& value) { m_applicationRestoreTypeHasBeenSet = true; m_applicationRestoreType = value; }
49 inline void SetApplicationRestoreType(ApplicationRestoreType&& value) { m_applicationRestoreTypeHasBeenSet = true; m_applicationRestoreType = std::move(value); }
53
55
61 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
62 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
63 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
64 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
65 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
66 inline ApplicationRestoreConfiguration& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
67 inline ApplicationRestoreConfiguration& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
68 inline ApplicationRestoreConfiguration& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
70 private:
71
72 ApplicationRestoreType m_applicationRestoreType;
73 bool m_applicationRestoreTypeHasBeenSet = false;
74
75 Aws::String m_snapshotName;
76 bool m_snapshotNameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace KinesisAnalyticsV2
81} // namespace Aws
AWS_KINESISANALYTICSV2_API ApplicationRestoreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationRestoreConfiguration & WithApplicationRestoreType(const ApplicationRestoreType &value)
ApplicationRestoreConfiguration & WithApplicationRestoreType(ApplicationRestoreType &&value)
ApplicationRestoreConfiguration & WithSnapshotName(Aws::String &&value)
ApplicationRestoreConfiguration & WithSnapshotName(const Aws::String &value)
AWS_KINESISANALYTICSV2_API ApplicationRestoreConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationRestoreConfiguration & WithSnapshotName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue