AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetGroup.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/personalize/model/Domain.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 Personalize
24{
25namespace Model
26{
27
44 {
45 public:
46 AWS_PERSONALIZE_API DatasetGroup();
47 AWS_PERSONALIZE_API DatasetGroup(Aws::Utils::Json::JsonView jsonValue);
48 AWS_PERSONALIZE_API DatasetGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline DatasetGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline DatasetGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline DatasetGroup& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
71 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
72 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
73 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
74 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
75 inline DatasetGroup& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
76 inline DatasetGroup& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
77 inline DatasetGroup& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
79
81
86 inline const Aws::String& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
91 inline DatasetGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
92 inline DatasetGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
93 inline DatasetGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
95
97
102 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
103 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
104 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
105 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
106 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
107 inline DatasetGroup& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
108 inline DatasetGroup& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
109 inline DatasetGroup& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
111
113
117 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
118 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
119 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
120 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
121 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
122 inline DatasetGroup& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
123 inline DatasetGroup& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
124 inline DatasetGroup& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
132 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
133 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
134 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
135 inline DatasetGroup& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
136 inline DatasetGroup& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
144 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
145 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
146 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
148 inline DatasetGroup& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
150
152
155 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
156 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
157 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
158 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
159 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
160 inline DatasetGroup& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
161 inline DatasetGroup& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
162 inline DatasetGroup& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
164
166
169 inline const Domain& GetDomain() const{ return m_domain; }
170 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
171 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
172 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
173 inline DatasetGroup& WithDomain(const Domain& value) { SetDomain(value); return *this;}
174 inline DatasetGroup& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
176 private:
177
178 Aws::String m_name;
179 bool m_nameHasBeenSet = false;
180
181 Aws::String m_datasetGroupArn;
182 bool m_datasetGroupArnHasBeenSet = false;
183
184 Aws::String m_status;
185 bool m_statusHasBeenSet = false;
186
187 Aws::String m_roleArn;
188 bool m_roleArnHasBeenSet = false;
189
190 Aws::String m_kmsKeyArn;
191 bool m_kmsKeyArnHasBeenSet = false;
192
193 Aws::Utils::DateTime m_creationDateTime;
194 bool m_creationDateTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_lastUpdatedDateTime;
197 bool m_lastUpdatedDateTimeHasBeenSet = false;
198
199 Aws::String m_failureReason;
200 bool m_failureReasonHasBeenSet = false;
201
202 Domain m_domain;
203 bool m_domainHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace Personalize
208} // namespace Aws
DatasetGroup & WithName(const char *value)
void SetKmsKeyArn(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetGroup & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetDatasetGroupArn(const char *value)
DatasetGroup & WithStatus(Aws::String &&value)
const Aws::String & GetDatasetGroupArn() const
DatasetGroup & WithFailureReason(Aws::String &&value)
DatasetGroup & WithName(const Aws::String &value)
DatasetGroup & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetRoleArn(Aws::String &&value)
DatasetGroup & WithRoleArn(const Aws::String &value)
void SetFailureReason(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DatasetGroup & WithName(Aws::String &&value)
void SetStatus(const char *value)
DatasetGroup & WithDatasetGroupArn(const Aws::String &value)
void SetStatus(const Aws::String &value)
DatasetGroup & WithKmsKeyArn(Aws::String &&value)
DatasetGroup & WithDatasetGroupArn(Aws::String &&value)
void SetFailureReason(Aws::String &&value)
DatasetGroup & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
DatasetGroup & WithRoleArn(Aws::String &&value)
void SetKmsKeyArn(const char *value)
const Aws::String & GetKmsKeyArn() const
AWS_PERSONALIZE_API DatasetGroup(Aws::Utils::Json::JsonView jsonValue)
DatasetGroup & WithDomain(Domain &&value)
const Aws::String & GetStatus() const
void SetDomain(const Domain &value)
DatasetGroup & WithKmsKeyArn(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetGroup & WithFailureReason(const Aws::String &value)
AWS_PERSONALIZE_API DatasetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
const Aws::String & GetRoleArn() const
DatasetGroup & WithFailureReason(const char *value)
DatasetGroup & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetDatasetGroupArn(const Aws::String &value)
DatasetGroup & WithStatus(const char *value)
DatasetGroup & WithRoleArn(const char *value)
DatasetGroup & WithDomain(const Domain &value)
void SetDatasetGroupArn(Aws::String &&value)
void SetKmsKeyArn(const Aws::String &value)
const Aws::String & GetName() const
void SetRoleArn(const char *value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetGroup & WithKmsKeyArn(const char *value)
AWS_PERSONALIZE_API DatasetGroup()
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetStatus(Aws::String &&value)
const Aws::String & GetFailureReason() const
void SetFailureReason(const Aws::String &value)
DatasetGroup & WithDatasetGroupArn(const char *value)
void SetRoleArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetGroup & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue