AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DeploymentStrategyOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/DeploymentStrategy.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 DeploymentStrategyOptions() = default;
31 AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline DeploymentStrategy GetDeploymentStrategy() const { return m_deploymentStrategy; }
41 inline bool DeploymentStrategyHasBeenSet() const { return m_deploymentStrategyHasBeenSet; }
43 m_deploymentStrategyHasBeenSet = true;
44 m_deploymentStrategy = value;
45 }
48 return *this;
49 }
51 private:
53 bool m_deploymentStrategyHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ElasticsearchService
58} // namespace Aws
DeploymentStrategyOptions & WithDeploymentStrategy(DeploymentStrategy value)
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOptions()=default
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DeploymentStrategyOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue