AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeploymentStrategyOverrideOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/ClonedBlueGreenOptions.h>
9#include <aws/es/model/DeploymentStrategyOverride.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ElasticsearchService {
21namespace Model {
22
30 public:
31 AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOverrideOptions() = default;
32 AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOverrideOptions(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline DeploymentStrategyOverride GetDeploymentStrategy() const { return m_deploymentStrategy; }
44 inline bool DeploymentStrategyHasBeenSet() const { return m_deploymentStrategyHasBeenSet; }
46 m_deploymentStrategyHasBeenSet = true;
47 m_deploymentStrategy = value;
48 }
54
56
60 inline const ClonedBlueGreenOptions& GetClonedBlueGreenOptions() const { return m_clonedBlueGreenOptions; }
61 inline bool ClonedBlueGreenOptionsHasBeenSet() const { return m_clonedBlueGreenOptionsHasBeenSet; }
62 template <typename ClonedBlueGreenOptionsT = ClonedBlueGreenOptions>
63 void SetClonedBlueGreenOptions(ClonedBlueGreenOptionsT&& value) {
64 m_clonedBlueGreenOptionsHasBeenSet = true;
65 m_clonedBlueGreenOptions = std::forward<ClonedBlueGreenOptionsT>(value);
66 }
67 template <typename ClonedBlueGreenOptionsT = ClonedBlueGreenOptions>
69 SetClonedBlueGreenOptions(std::forward<ClonedBlueGreenOptionsT>(value));
70 return *this;
71 }
73 private:
75
76 ClonedBlueGreenOptions m_clonedBlueGreenOptions;
77 bool m_deploymentStrategyHasBeenSet = false;
78 bool m_clonedBlueGreenOptionsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ElasticsearchService
83} // namespace Aws
DeploymentStrategyOverrideOptions & WithDeploymentStrategy(DeploymentStrategyOverride value)
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOverrideOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOverrideOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOverrideOptions()=default
DeploymentStrategyOverrideOptions & WithClonedBlueGreenOptions(ClonedBlueGreenOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue