AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DryRunResults.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticsearchService
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_ELASTICSEARCHSERVICE_API DryRunResults();
30 AWS_ELASTICSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ELASTICSEARCHSERVICE_API DryRunResults& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
46 inline const Aws::String& GetDeploymentType() const{ return m_deploymentType; }
47 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
48 inline void SetDeploymentType(const Aws::String& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
49 inline void SetDeploymentType(Aws::String&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
50 inline void SetDeploymentType(const char* value) { m_deploymentTypeHasBeenSet = true; m_deploymentType.assign(value); }
51 inline DryRunResults& WithDeploymentType(const Aws::String& value) { SetDeploymentType(value); return *this;}
52 inline DryRunResults& WithDeploymentType(Aws::String&& value) { SetDeploymentType(std::move(value)); return *this;}
53 inline DryRunResults& WithDeploymentType(const char* value) { SetDeploymentType(value); return *this;}
55
57
60 inline const Aws::String& GetMessage() const{ return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
63 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
64 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 inline DryRunResults& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
66 inline DryRunResults& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
67 inline DryRunResults& WithMessage(const char* value) { SetMessage(value); return *this;}
69 private:
70
71 Aws::String m_deploymentType;
72 bool m_deploymentTypeHasBeenSet = false;
73
74 Aws::String m_message;
75 bool m_messageHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElasticsearchService
80} // namespace Aws
DryRunResults & WithDeploymentType(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DryRunResults & WithDeploymentType(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API DryRunResults()
DryRunResults & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API DryRunResults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDeploymentType() const
void SetDeploymentType(const Aws::String &value)
DryRunResults & WithDeploymentType(const char *value)
DryRunResults & WithMessage(const char *value)
DryRunResults & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue