AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DryRunResults.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.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
23 public:
24 AWS_ELASTICSEARCHSERVICE_API DryRunResults() = default;
25 AWS_ELASTICSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue);
26 AWS_ELASTICSEARCHSERVICE_API DryRunResults& operator=(Aws::Utils::Json::JsonView jsonValue);
27 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
28
30
40 inline const Aws::String& GetDeploymentType() const { return m_deploymentType; }
41 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
42 template <typename DeploymentTypeT = Aws::String>
43 void SetDeploymentType(DeploymentTypeT&& value) {
44 m_deploymentTypeHasBeenSet = true;
45 m_deploymentType = std::forward<DeploymentTypeT>(value);
46 }
47 template <typename DeploymentTypeT = Aws::String>
48 DryRunResults& WithDeploymentType(DeploymentTypeT&& value) {
49 SetDeploymentType(std::forward<DeploymentTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template <typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) {
62 m_messageHasBeenSet = true;
63 m_message = std::forward<MessageT>(value);
64 }
65 template <typename MessageT = Aws::String>
66 DryRunResults& WithMessage(MessageT&& value) {
67 SetMessage(std::forward<MessageT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_deploymentType;
73
74 Aws::String m_message;
75 bool m_deploymentTypeHasBeenSet = false;
76 bool m_messageHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ElasticsearchService
81} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DryRunResults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DryRunResults()=default
void SetDeploymentType(DeploymentTypeT &&value)
AWS_ELASTICSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDeploymentType() const
DryRunResults & WithDeploymentType(DeploymentTypeT &&value)
DryRunResults & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue