AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecipeSummary.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
37 {
38 public:
39 AWS_PERSONALIZE_API RecipeSummary();
40 AWS_PERSONALIZE_API RecipeSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API RecipeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline RecipeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline RecipeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline RecipeSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
64 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
65 inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
66 inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
67 inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
68 inline RecipeSummary& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
69 inline RecipeSummary& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
70 inline RecipeSummary& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
72
74
77 inline const Aws::String& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
82 inline RecipeSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
83 inline RecipeSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
84 inline RecipeSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
92 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
93 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
94 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
95 inline RecipeSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
96 inline RecipeSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
104 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
105 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
106 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
108 inline RecipeSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
110
112
116 inline const Domain& GetDomain() const{ return m_domain; }
117 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
118 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
119 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
120 inline RecipeSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;}
121 inline RecipeSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_recipeArn;
129 bool m_recipeArnHasBeenSet = false;
130
131 Aws::String m_status;
132 bool m_statusHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationDateTime;
135 bool m_creationDateTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdatedDateTime;
138 bool m_lastUpdatedDateTimeHasBeenSet = false;
139
140 Domain m_domain;
141 bool m_domainHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Personalize
146} // namespace Aws
AWS_PERSONALIZE_API RecipeSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
RecipeSummary & WithStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRecipeArn() const
const Aws::String & GetName() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
RecipeSummary & WithDomain(const Domain &value)
RecipeSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
RecipeSummary & WithDomain(Domain &&value)
void SetStatus(const Aws::String &value)
AWS_PERSONALIZE_API RecipeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecipeSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetRecipeArn(const char *value)
void SetRecipeArn(const Aws::String &value)
RecipeSummary & WithStatus(const char *value)
const Aws::String & GetStatus() const
RecipeSummary & WithStatus(const Aws::String &value)
RecipeSummary & WithName(const char *value)
RecipeSummary & WithRecipeArn(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
RecipeSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetRecipeArn(Aws::String &&value)
RecipeSummary & WithName(const Aws::String &value)
void SetDomain(const Domain &value)
RecipeSummary & WithRecipeArn(const Aws::String &value)
RecipeSummary & WithRecipeArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
RecipeSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
RecipeSummary & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue