AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ClonedBlueGreenOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/RetentionOptions.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElasticsearchService {
20namespace Model {
21
28 public:
29 AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions() = default;
30 AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const RetentionOptions& GetRetentionOptions() const { return m_retentionOptions; }
40 inline bool RetentionOptionsHasBeenSet() const { return m_retentionOptionsHasBeenSet; }
41 template <typename RetentionOptionsT = RetentionOptions>
42 void SetRetentionOptions(RetentionOptionsT&& value) {
43 m_retentionOptionsHasBeenSet = true;
44 m_retentionOptions = std::forward<RetentionOptionsT>(value);
45 }
46 template <typename RetentionOptionsT = RetentionOptions>
47 ClonedBlueGreenOptions& WithRetentionOptions(RetentionOptionsT&& value) {
48 SetRetentionOptions(std::forward<RetentionOptionsT>(value));
49 return *this;
50 }
52 private:
53 RetentionOptions m_retentionOptions;
54 bool m_retentionOptionsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ElasticsearchService
59} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ClonedBlueGreenOptions & WithRetentionOptions(RetentionOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API ClonedBlueGreenOptions()=default
Aws::Utils::Json::JsonValue JsonValue