AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CutoverRequestOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/CutoverTarget.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
29 public:
30 AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions() = default;
31 AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline CutoverTarget GetTarget() const { return m_target; }
42 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
43 inline void SetTarget(CutoverTarget value) {
44 m_targetHasBeenSet = true;
45 m_target = value;
46 }
48 SetTarget(value);
49 return *this;
50 }
52 private:
54 bool m_targetHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ElasticsearchService
59} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions()=default
AWS_ELASTICSEARCHSERVICE_API CutoverRequestOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
CutoverRequestOptions & WithTarget(CutoverTarget value)
Aws::Utils::Json::JsonValue JsonValue