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/opensearch/OpenSearchService_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 OpenSearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API DryRunResults();
36 AWS_OPENSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API DryRunResults& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetDeploymentType() const{ return m_deploymentType; }
52 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
53 inline void SetDeploymentType(const Aws::String& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
54 inline void SetDeploymentType(Aws::String&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
55 inline void SetDeploymentType(const char* value) { m_deploymentTypeHasBeenSet = true; m_deploymentType.assign(value); }
56 inline DryRunResults& WithDeploymentType(const Aws::String& value) { SetDeploymentType(value); return *this;}
57 inline DryRunResults& WithDeploymentType(Aws::String&& value) { SetDeploymentType(std::move(value)); return *this;}
58 inline DryRunResults& WithDeploymentType(const char* value) { SetDeploymentType(value); return *this;}
60
62
65 inline const Aws::String& GetMessage() const{ return m_message; }
66 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
67 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
68 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
69 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
70 inline DryRunResults& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
71 inline DryRunResults& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
72 inline DryRunResults& WithMessage(const char* value) { SetMessage(value); return *this;}
74 private:
75
76 Aws::String m_deploymentType;
77 bool m_deploymentTypeHasBeenSet = false;
78
79 Aws::String m_message;
80 bool m_messageHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace OpenSearchService
85} // namespace Aws
void SetDeploymentType(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API DryRunResults()
DryRunResults & WithDeploymentType(const Aws::String &value)
const Aws::String & GetDeploymentType() const
DryRunResults & WithMessage(const Aws::String &value)
void SetDeploymentType(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
DryRunResults & WithMessage(Aws::String &&value)
DryRunResults & WithDeploymentType(Aws::String &&value)
DryRunResults & WithDeploymentType(const char *value)
DryRunResults & WithMessage(const char *value)
AWS_OPENSEARCHSERVICE_API DryRunResults & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue