AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DryRunResults.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchService {
20namespace Model {
21
29 public:
30 AWS_OPENSEARCHSERVICE_API DryRunResults() = default;
31 AWS_OPENSEARCHSERVICE_API DryRunResults(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHSERVICE_API DryRunResults& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline const Aws::String& GetDeploymentType() const { return m_deploymentType; }
46 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
47 template <typename DeploymentTypeT = Aws::String>
48 void SetDeploymentType(DeploymentTypeT&& value) {
49 m_deploymentTypeHasBeenSet = true;
50 m_deploymentType = std::forward<DeploymentTypeT>(value);
51 }
52 template <typename DeploymentTypeT = Aws::String>
53 DryRunResults& WithDeploymentType(DeploymentTypeT&& value) {
54 SetDeploymentType(std::forward<DeploymentTypeT>(value));
55 return *this;
56 }
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) {
67 m_messageHasBeenSet = true;
68 m_message = std::forward<MessageT>(value);
69 }
70 template <typename MessageT = Aws::String>
71 DryRunResults& WithMessage(MessageT&& value) {
72 SetMessage(std::forward<MessageT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_deploymentType;
78
79 Aws::String m_message;
80 bool m_deploymentTypeHasBeenSet = false;
81 bool m_messageHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace OpenSearchService
86} // 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