AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DryRunProgressStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/model/ValidationFailure.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API DryRunProgressStatus();
38 AWS_OPENSEARCHSERVICE_API DryRunProgressStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API DryRunProgressStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDryRunId() const{ return m_dryRunId; }
48 inline bool DryRunIdHasBeenSet() const { return m_dryRunIdHasBeenSet; }
49 inline void SetDryRunId(const Aws::String& value) { m_dryRunIdHasBeenSet = true; m_dryRunId = value; }
50 inline void SetDryRunId(Aws::String&& value) { m_dryRunIdHasBeenSet = true; m_dryRunId = std::move(value); }
51 inline void SetDryRunId(const char* value) { m_dryRunIdHasBeenSet = true; m_dryRunId.assign(value); }
52 inline DryRunProgressStatus& WithDryRunId(const Aws::String& value) { SetDryRunId(value); return *this;}
53 inline DryRunProgressStatus& WithDryRunId(Aws::String&& value) { SetDryRunId(std::move(value)); return *this;}
54 inline DryRunProgressStatus& WithDryRunId(const char* value) { SetDryRunId(value); return *this;}
56
58
61 inline const Aws::String& GetDryRunStatus() const{ return m_dryRunStatus; }
62 inline bool DryRunStatusHasBeenSet() const { return m_dryRunStatusHasBeenSet; }
63 inline void SetDryRunStatus(const Aws::String& value) { m_dryRunStatusHasBeenSet = true; m_dryRunStatus = value; }
64 inline void SetDryRunStatus(Aws::String&& value) { m_dryRunStatusHasBeenSet = true; m_dryRunStatus = std::move(value); }
65 inline void SetDryRunStatus(const char* value) { m_dryRunStatusHasBeenSet = true; m_dryRunStatus.assign(value); }
66 inline DryRunProgressStatus& WithDryRunStatus(const Aws::String& value) { SetDryRunStatus(value); return *this;}
67 inline DryRunProgressStatus& WithDryRunStatus(Aws::String&& value) { SetDryRunStatus(std::move(value)); return *this;}
68 inline DryRunProgressStatus& WithDryRunStatus(const char* value) { SetDryRunStatus(value); return *this;}
70
72
75 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
76 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
77 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
78 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
79 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
80 inline DryRunProgressStatus& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
81 inline DryRunProgressStatus& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
82 inline DryRunProgressStatus& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
84
86
89 inline const Aws::String& GetUpdateDate() const{ return m_updateDate; }
90 inline bool UpdateDateHasBeenSet() const { return m_updateDateHasBeenSet; }
91 inline void SetUpdateDate(const Aws::String& value) { m_updateDateHasBeenSet = true; m_updateDate = value; }
92 inline void SetUpdateDate(Aws::String&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::move(value); }
93 inline void SetUpdateDate(const char* value) { m_updateDateHasBeenSet = true; m_updateDate.assign(value); }
94 inline DryRunProgressStatus& WithUpdateDate(const Aws::String& value) { SetUpdateDate(value); return *this;}
95 inline DryRunProgressStatus& WithUpdateDate(Aws::String&& value) { SetUpdateDate(std::move(value)); return *this;}
96 inline DryRunProgressStatus& WithUpdateDate(const char* value) { SetUpdateDate(value); return *this;}
98
100
103 inline const Aws::Vector<ValidationFailure>& GetValidationFailures() const{ return m_validationFailures; }
104 inline bool ValidationFailuresHasBeenSet() const { return m_validationFailuresHasBeenSet; }
105 inline void SetValidationFailures(const Aws::Vector<ValidationFailure>& value) { m_validationFailuresHasBeenSet = true; m_validationFailures = value; }
106 inline void SetValidationFailures(Aws::Vector<ValidationFailure>&& value) { m_validationFailuresHasBeenSet = true; m_validationFailures = std::move(value); }
109 inline DryRunProgressStatus& AddValidationFailures(const ValidationFailure& value) { m_validationFailuresHasBeenSet = true; m_validationFailures.push_back(value); return *this; }
110 inline DryRunProgressStatus& AddValidationFailures(ValidationFailure&& value) { m_validationFailuresHasBeenSet = true; m_validationFailures.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_dryRunId;
115 bool m_dryRunIdHasBeenSet = false;
116
117 Aws::String m_dryRunStatus;
118 bool m_dryRunStatusHasBeenSet = false;
119
120 Aws::String m_creationDate;
121 bool m_creationDateHasBeenSet = false;
122
123 Aws::String m_updateDate;
124 bool m_updateDateHasBeenSet = false;
125
126 Aws::Vector<ValidationFailure> m_validationFailures;
127 bool m_validationFailuresHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace OpenSearchService
132} // namespace Aws
DryRunProgressStatus & WithDryRunId(Aws::String &&value)
void SetValidationFailures(const Aws::Vector< ValidationFailure > &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DryRunProgressStatus & WithUpdateDate(const Aws::String &value)
DryRunProgressStatus & AddValidationFailures(ValidationFailure &&value)
DryRunProgressStatus & WithCreationDate(Aws::String &&value)
DryRunProgressStatus & WithDryRunId(const Aws::String &value)
DryRunProgressStatus & WithDryRunStatus(const Aws::String &value)
DryRunProgressStatus & WithUpdateDate(const char *value)
void SetValidationFailures(Aws::Vector< ValidationFailure > &&value)
const Aws::Vector< ValidationFailure > & GetValidationFailures() const
DryRunProgressStatus & WithCreationDate(const char *value)
DryRunProgressStatus & WithValidationFailures(const Aws::Vector< ValidationFailure > &value)
AWS_OPENSEARCHSERVICE_API DryRunProgressStatus(Aws::Utils::Json::JsonView jsonValue)
DryRunProgressStatus & WithValidationFailures(Aws::Vector< ValidationFailure > &&value)
DryRunProgressStatus & WithDryRunId(const char *value)
DryRunProgressStatus & WithDryRunStatus(const char *value)
DryRunProgressStatus & WithCreationDate(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API DryRunProgressStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
DryRunProgressStatus & AddValidationFailures(const ValidationFailure &value)
DryRunProgressStatus & WithUpdateDate(Aws::String &&value)
DryRunProgressStatus & WithDryRunStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue