AWS SDK for C++  1.9.108
AWS SDK for C++
RecipeSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline RecipeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline RecipeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline RecipeSummary& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
87 
91  inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
92 
96  inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
97 
101  inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
102 
106  inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
107 
111  inline RecipeSummary& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
112 
116  inline RecipeSummary& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
117 
121  inline RecipeSummary& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
122 
123 
127  inline const Aws::String& GetStatus() const{ return m_status; }
128 
132  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 
137  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
138 
142  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
143 
147  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
148 
152  inline RecipeSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
153 
157  inline RecipeSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
158 
162  inline RecipeSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
163 
164 
168  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
169 
173  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
174 
178  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
179 
183  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
184 
188  inline RecipeSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
189 
193  inline RecipeSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
194 
195 
199  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
200 
204  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
205 
209  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
210 
214  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
215 
219  inline RecipeSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
220 
224  inline RecipeSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
225 
226  private:
227 
228  Aws::String m_name;
229  bool m_nameHasBeenSet;
230 
231  Aws::String m_recipeArn;
232  bool m_recipeArnHasBeenSet;
233 
234  Aws::String m_status;
235  bool m_statusHasBeenSet;
236 
237  Aws::Utils::DateTime m_creationDateTime;
238  bool m_creationDateTimeHasBeenSet;
239 
240  Aws::Utils::DateTime m_lastUpdatedDateTime;
241  bool m_lastUpdatedDateTimeHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Personalize
246 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::RecipeSummary::WithLastUpdatedDateTime
RecipeSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RecipeSummary.h:224
Aws::Personalize::Model::RecipeSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: RecipeSummary.h:178
Aws::Personalize::Model::RecipeSummary::WithName
RecipeSummary & WithName(Aws::String &&value)
Definition: RecipeSummary.h:75
Aws::Personalize::Model::RecipeSummary::operator=
RecipeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::RecipeSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: RecipeSummary.h:183
Aws::Personalize::Model::RecipeSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: RecipeSummary.h:142
Aws::Personalize::Model::RecipeSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DateTime.h
Aws::Personalize::Model::RecipeSummary::SetName
void SetName(const char *value)
Definition: RecipeSummary.h:65
Aws::Personalize::Model::RecipeSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: RecipeSummary.h:214
Aws::Personalize::Model::RecipeSummary::GetRecipeArn
const Aws::String & GetRecipeArn() const
Definition: RecipeSummary.h:86
Aws::Personalize::Model::RecipeSummary::WithStatus
RecipeSummary & WithStatus(const char *value)
Definition: RecipeSummary.h:162
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::RecipeSummary::WithLastUpdatedDateTime
RecipeSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RecipeSummary.h:219
Aws::Personalize::Model::RecipeSummary::WithRecipeArn
RecipeSummary & WithRecipeArn(Aws::String &&value)
Definition: RecipeSummary.h:116
Aws::Personalize::Model::RecipeSummary::WithStatus
RecipeSummary & WithStatus(const Aws::String &value)
Definition: RecipeSummary.h:152
Aws::Personalize::Model::RecipeSummary::GetStatus
const Aws::String & GetStatus() const
Definition: RecipeSummary.h:127
Aws::Personalize::Model::RecipeSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: RecipeSummary.h:204
Aws::Personalize::Model::RecipeSummary::SetRecipeArn
void SetRecipeArn(Aws::String &&value)
Definition: RecipeSummary.h:101
Aws::Personalize::Model::RecipeSummary::SetRecipeArn
void SetRecipeArn(const Aws::String &value)
Definition: RecipeSummary.h:96
Aws::Personalize::Model::RecipeSummary::SetRecipeArn
void SetRecipeArn(const char *value)
Definition: RecipeSummary.h:106
Aws::Personalize::Model::RecipeSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: RecipeSummary.h:209
Aws::Personalize::Model::RecipeSummary
Definition: RecipeSummary.h:34
Aws::Personalize::Model::RecipeSummary::WithStatus
RecipeSummary & WithStatus(Aws::String &&value)
Definition: RecipeSummary.h:157
Aws::Personalize::Model::RecipeSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: RecipeSummary.h:168
Aws::Personalize::Model::RecipeSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: RecipeSummary.h:50
Aws::Personalize::Model::RecipeSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: RecipeSummary.h:173
Aws::Personalize::Model::RecipeSummary::SetName
void SetName(const Aws::String &value)
Definition: RecipeSummary.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::RecipeSummary::GetName
const Aws::String & GetName() const
Definition: RecipeSummary.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::RecipeSummary::RecipeArnHasBeenSet
bool RecipeArnHasBeenSet() const
Definition: RecipeSummary.h:91
Aws::Personalize::Model::RecipeSummary::WithRecipeArn
RecipeSummary & WithRecipeArn(const Aws::String &value)
Definition: RecipeSummary.h:111
Aws::Personalize::Model::RecipeSummary::RecipeSummary
RecipeSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::RecipeSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: RecipeSummary.h:199
Aws::Personalize::Model::RecipeSummary::RecipeSummary
RecipeSummary()
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::RecipeSummary::SetStatus
void SetStatus(const char *value)
Definition: RecipeSummary.h:147
Aws::Personalize::Model::RecipeSummary::WithName
RecipeSummary & WithName(const Aws::String &value)
Definition: RecipeSummary.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::RecipeSummary::WithCreationDateTime
RecipeSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: RecipeSummary.h:193
Aws::Personalize::Model::RecipeSummary::WithName
RecipeSummary & WithName(const char *value)
Definition: RecipeSummary.h:80
Personalize_EXPORTS.h
Aws::Personalize::Model::RecipeSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: RecipeSummary.h:137
Aws::Personalize::Model::RecipeSummary::SetName
void SetName(Aws::String &&value)
Definition: RecipeSummary.h:60
Aws::Personalize::Model::RecipeSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: RecipeSummary.h:132
Aws::Personalize::Model::RecipeSummary::WithRecipeArn
RecipeSummary & WithRecipeArn(const char *value)
Definition: RecipeSummary.h:121
Aws::Personalize::Model::RecipeSummary::WithCreationDateTime
RecipeSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: RecipeSummary.h:188