AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SolutionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Personalize {
21namespace Model {
22
32 public:
33 AWS_PERSONALIZE_API SolutionSummary() = default;
34 AWS_PERSONALIZE_API SolutionSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PERSONALIZE_API SolutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 SolutionSummary& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetSolutionArn() const { return m_solutionArn; }
61 inline bool SolutionArnHasBeenSet() const { return m_solutionArnHasBeenSet; }
62 template <typename SolutionArnT = Aws::String>
63 void SetSolutionArn(SolutionArnT&& value) {
64 m_solutionArnHasBeenSet = true;
65 m_solutionArn = std::forward<SolutionArnT>(value);
66 }
67 template <typename SolutionArnT = Aws::String>
68 SolutionSummary& WithSolutionArn(SolutionArnT&& value) {
69 SetSolutionArn(std::forward<SolutionArnT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 template <typename StatusT = Aws::String>
84 void SetStatus(StatusT&& value) {
85 m_statusHasBeenSet = true;
86 m_status = std::forward<StatusT>(value);
87 }
88 template <typename StatusT = Aws::String>
89 SolutionSummary& WithStatus(StatusT&& value) {
90 SetStatus(std::forward<StatusT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
100 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
101 template <typename CreationDateTimeT = Aws::Utils::DateTime>
102 void SetCreationDateTime(CreationDateTimeT&& value) {
103 m_creationDateTimeHasBeenSet = true;
104 m_creationDateTime = std::forward<CreationDateTimeT>(value);
105 }
106 template <typename CreationDateTimeT = Aws::Utils::DateTime>
107 SolutionSummary& WithCreationDateTime(CreationDateTimeT&& value) {
108 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
118 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
119 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
120 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
121 m_lastUpdatedDateTimeHasBeenSet = true;
122 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
123 }
124 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
125 SolutionSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
126 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
136 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
137 template <typename RecipeArnT = Aws::String>
138 void SetRecipeArn(RecipeArnT&& value) {
139 m_recipeArnHasBeenSet = true;
140 m_recipeArn = std::forward<RecipeArnT>(value);
141 }
142 template <typename RecipeArnT = Aws::String>
143 SolutionSummary& WithRecipeArn(RecipeArnT&& value) {
144 SetRecipeArn(std::forward<RecipeArnT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_name;
150
151 Aws::String m_solutionArn;
152
153 Aws::String m_status;
154
155 Aws::Utils::DateTime m_creationDateTime{};
156
157 Aws::Utils::DateTime m_lastUpdatedDateTime{};
158
159 Aws::String m_recipeArn;
160 bool m_nameHasBeenSet = false;
161 bool m_solutionArnHasBeenSet = false;
162 bool m_statusHasBeenSet = false;
163 bool m_creationDateTimeHasBeenSet = false;
164 bool m_lastUpdatedDateTimeHasBeenSet = false;
165 bool m_recipeArnHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace Personalize
170} // namespace Aws
AWS_PERSONALIZE_API SolutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
const Aws::String & GetRecipeArn() const
SolutionSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
SolutionSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API SolutionSummary(Aws::Utils::Json::JsonView jsonValue)
SolutionSummary & WithSolutionArn(SolutionArnT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSolutionArn() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
SolutionSummary & WithRecipeArn(RecipeArnT &&value)
void SetSolutionArn(SolutionArnT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API SolutionSummary()=default
SolutionSummary & WithName(NameT &&value)
SolutionSummary & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue