AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRecommenderConfig(const RecommenderConfig& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = value; }
52 inline void SetRecommenderConfig(RecommenderConfig&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::move(value); }
54 inline RecommenderUpdateSummary& WithRecommenderConfig(RecommenderConfig&& value) { SetRecommenderConfig(std::move(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 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
65 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
69
71
75 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
76 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
77 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
78 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
82
84
89 inline const Aws::String& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
94 inline RecommenderUpdateSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
95 inline RecommenderUpdateSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
96 inline RecommenderUpdateSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
98
100
103 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
104 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
105 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
106 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
107 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
108 inline RecommenderUpdateSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
109 inline RecommenderUpdateSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
110 inline RecommenderUpdateSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
112 private:
113
114 RecommenderConfig m_recommenderConfig;
115 bool m_recommenderConfigHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDateTime;
118 bool m_creationDateTimeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedDateTime;
121 bool m_lastUpdatedDateTimeHasBeenSet = false;
122
123 Aws::String m_status;
124 bool m_statusHasBeenSet = false;
125
126 Aws::String m_failureReason;
127 bool m_failureReasonHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Personalize
132} // namespace Aws
RecommenderUpdateSummary & WithStatus(const char *value)
RecommenderUpdateSummary & WithFailureReason(Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
RecommenderUpdateSummary & WithFailureReason(const Aws::String &value)
RecommenderUpdateSummary & WithFailureReason(const char *value)
RecommenderUpdateSummary & WithRecommenderConfig(RecommenderConfig &&value)
RecommenderUpdateSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetRecommenderConfig(const RecommenderConfig &value)
RecommenderUpdateSummary & WithStatus(const Aws::String &value)
RecommenderUpdateSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API RecommenderUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommenderUpdateSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
RecommenderUpdateSummary & WithRecommenderConfig(const RecommenderConfig &value)
RecommenderUpdateSummary & WithStatus(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
AWS_PERSONALIZE_API RecommenderUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
RecommenderUpdateSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue