AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DeploymentTypeT = Aws::String>
54 void SetDeploymentType(DeploymentTypeT&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::forward<DeploymentTypeT>(value); }
55 template<typename DeploymentTypeT = Aws::String>
56 DryRunResults& WithDeploymentType(DeploymentTypeT&& value) { SetDeploymentType(std::forward<DeploymentTypeT>(value)); return *this;}
58
60
63 inline const Aws::String& GetMessage() const { return m_message; }
64 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
65 template<typename MessageT = Aws::String>
66 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
67 template<typename MessageT = Aws::String>
68 DryRunResults& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
70 private:
71
72 Aws::String m_deploymentType;
73 bool m_deploymentTypeHasBeenSet = false;
74
75 Aws::String m_message;
76 bool m_messageHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace OpenSearchService
81} // namespace Aws
DryRunResults & WithMessage(MessageT &&value)
AWS_OPENSEARCHSERVICE_API DryRunResults()=default
DryRunResults & WithDeploymentType(DeploymentTypeT &&value)
const Aws::String & GetDeploymentType() const
AWS_OPENSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentType(DeploymentTypeT &&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