AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SolutionSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PERSONALIZE_API SolutionSummary() = default;
39 AWS_PERSONALIZE_API SolutionSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API SolutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 SolutionSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_solutionArnHasBeenSet = true; m_solutionArn = std::forward<SolutionArnT>(value); }
64 template<typename SolutionArnT = Aws::String>
65 SolutionSummary& WithSolutionArn(SolutionArnT&& value) { SetSolutionArn(std::forward<SolutionArnT>(value)); return *this;}
67
69
75 inline const Aws::String& GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 template<typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
79 template<typename StatusT = Aws::String>
80 SolutionSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
88 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
89 template<typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 SolutionSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
100 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
101 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 SolutionSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
106
108
111 inline const Aws::String& GetRecipeArn() const { return m_recipeArn; }
112 inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
113 template<typename RecipeArnT = Aws::String>
114 void SetRecipeArn(RecipeArnT&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::forward<RecipeArnT>(value); }
115 template<typename RecipeArnT = Aws::String>
116 SolutionSummary& WithRecipeArn(RecipeArnT&& value) { SetRecipeArn(std::forward<RecipeArnT>(value)); return *this;}
118 private:
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_solutionArn;
124 bool m_solutionArnHasBeenSet = false;
125
126 Aws::String m_status;
127 bool m_statusHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationDateTime{};
130 bool m_creationDateTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastUpdatedDateTime{};
133 bool m_lastUpdatedDateTimeHasBeenSet = false;
134
135 Aws::String m_recipeArn;
136 bool m_recipeArnHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Personalize
141} // 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