AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecommenderUpdateSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/model/RecommenderConfig.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 RecommenderUpdateSummary() = default;
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const RecommenderConfig& GetRecommenderConfig() const { return m_recommenderConfig; }
50 inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; }
51 template<typename RecommenderConfigT = RecommenderConfig>
52 void SetRecommenderConfig(RecommenderConfigT&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::forward<RecommenderConfigT>(value); }
53 template<typename RecommenderConfigT = RecommenderConfig>
54 RecommenderUpdateSummary& WithRecommenderConfig(RecommenderConfigT&& value) { SetRecommenderConfig(std::forward<RecommenderConfigT>(value)); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
63 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
64 template<typename CreationDateTimeT = Aws::Utils::DateTime>
65 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
66 template<typename CreationDateTimeT = Aws::Utils::DateTime>
67 RecommenderUpdateSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
76 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
77 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
78 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
79 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
80 RecommenderUpdateSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
82
84
89 inline const Aws::String& GetStatus() const { return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 template<typename StatusT = Aws::String>
92 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
93 template<typename StatusT = Aws::String>
94 RecommenderUpdateSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
96
98
101 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
102 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
103 template<typename FailureReasonT = Aws::String>
104 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
105 template<typename FailureReasonT = Aws::String>
106 RecommenderUpdateSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
108 private:
109
110 RecommenderConfig m_recommenderConfig;
111 bool m_recommenderConfigHasBeenSet = false;
112
113 Aws::Utils::DateTime m_creationDateTime{};
114 bool m_creationDateTimeHasBeenSet = false;
115
116 Aws::Utils::DateTime m_lastUpdatedDateTime{};
117 bool m_lastUpdatedDateTimeHasBeenSet = false;
118
119 Aws::String m_status;
120 bool m_statusHasBeenSet = false;
121
122 Aws::String m_failureReason;
123 bool m_failureReasonHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Personalize
128} // namespace Aws
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
RecommenderUpdateSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
RecommenderUpdateSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API RecommenderUpdateSummary()=default
RecommenderUpdateSummary & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API RecommenderUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderUpdateSummary & WithStatus(StatusT &&value)
RecommenderUpdateSummary & WithRecommenderConfig(RecommenderConfigT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API RecommenderUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue