AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudienceModelSummary.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/AudienceModelStatus.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 CleanRoomsML
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CLEANROOMSML_API AudienceModelSummary();
37 AWS_CLEANROOMSML_API AudienceModelSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
47 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
48 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
49 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
50 inline AudienceModelSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
51 inline AudienceModelSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
59 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
60 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
61 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
62 inline AudienceModelSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
63 inline AudienceModelSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetAudienceModelArn() const{ return m_audienceModelArn; }
71 inline bool AudienceModelArnHasBeenSet() const { return m_audienceModelArnHasBeenSet; }
72 inline void SetAudienceModelArn(const Aws::String& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = value; }
73 inline void SetAudienceModelArn(Aws::String&& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = std::move(value); }
74 inline void SetAudienceModelArn(const char* value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn.assign(value); }
75 inline AudienceModelSummary& WithAudienceModelArn(const Aws::String& value) { SetAudienceModelArn(value); return *this;}
76 inline AudienceModelSummary& WithAudienceModelArn(Aws::String&& value) { SetAudienceModelArn(std::move(value)); return *this;}
77 inline AudienceModelSummary& WithAudienceModelArn(const char* value) { SetAudienceModelArn(value); return *this;}
79
81
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline AudienceModelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline AudienceModelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline AudienceModelSummary& WithName(const char* value) { SetName(value); return *this;}
93
95
99 inline const Aws::String& GetTrainingDatasetArn() const{ return m_trainingDatasetArn; }
100 inline bool TrainingDatasetArnHasBeenSet() const { return m_trainingDatasetArnHasBeenSet; }
101 inline void SetTrainingDatasetArn(const Aws::String& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = value; }
102 inline void SetTrainingDatasetArn(Aws::String&& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = std::move(value); }
103 inline void SetTrainingDatasetArn(const char* value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn.assign(value); }
105 inline AudienceModelSummary& WithTrainingDatasetArn(Aws::String&& value) { SetTrainingDatasetArn(std::move(value)); return *this;}
106 inline AudienceModelSummary& WithTrainingDatasetArn(const char* value) { SetTrainingDatasetArn(value); return *this;}
108
110
113 inline const AudienceModelStatus& GetStatus() const{ return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(const AudienceModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
116 inline void SetStatus(AudienceModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline AudienceModelSummary& WithStatus(const AudienceModelStatus& value) { SetStatus(value); return *this;}
118 inline AudienceModelSummary& WithStatus(AudienceModelStatus&& value) { SetStatus(std::move(value)); return *this;}
120
122
125 inline const Aws::String& GetDescription() const{ return m_description; }
126 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
127 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
128 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
129 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
130 inline AudienceModelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 inline AudienceModelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
132 inline AudienceModelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
134 private:
135
136 Aws::Utils::DateTime m_createTime;
137 bool m_createTimeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updateTime;
140 bool m_updateTimeHasBeenSet = false;
141
142 Aws::String m_audienceModelArn;
143 bool m_audienceModelArnHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_trainingDatasetArn;
149 bool m_trainingDatasetArnHasBeenSet = false;
150
151 AudienceModelStatus m_status;
152 bool m_statusHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace CleanRoomsML
160} // namespace Aws
AudienceModelSummary & WithStatus(AudienceModelStatus &&value)
void SetStatus(const AudienceModelStatus &value)
AudienceModelSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
AudienceModelSummary & WithName(const Aws::String &value)
AWS_CLEANROOMSML_API AudienceModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdateTime() const
AudienceModelSummary & WithTrainingDatasetArn(Aws::String &&value)
AudienceModelSummary & WithCreateTime(const Aws::Utils::DateTime &value)
AudienceModelSummary & WithTrainingDatasetArn(const char *value)
AudienceModelSummary & WithAudienceModelArn(const char *value)
AWS_CLEANROOMSML_API AudienceModelSummary(Aws::Utils::Json::JsonView jsonValue)
AudienceModelSummary & WithCreateTime(Aws::Utils::DateTime &&value)
AudienceModelSummary & WithAudienceModelArn(const Aws::String &value)
AudienceModelSummary & WithDescription(Aws::String &&value)
AudienceModelSummary & WithAudienceModelArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AudienceModelSummary & WithName(const char *value)
AudienceModelSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
const AudienceModelStatus & GetStatus() const
void SetUpdateTime(Aws::Utils::DateTime &&value)
AudienceModelSummary & WithTrainingDatasetArn(const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
AudienceModelSummary & WithDescription(const Aws::String &value)
AudienceModelSummary & WithName(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AudienceModelSummary & WithStatus(const AudienceModelStatus &value)
AudienceModelSummary & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue