AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CampaignSummary.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/CampaignStatus.h>
10#include <aws/core/utils/DateTime.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 IoTFleetWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTFLEETWISE_API CampaignSummary();
38 AWS_IOTFLEETWISE_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API CampaignSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline CampaignSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CampaignSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CampaignSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline CampaignSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline CampaignSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline CampaignSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline CampaignSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline CampaignSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline CampaignSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; }
90 inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; }
91 inline void SetSignalCatalogArn(const Aws::String& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = value; }
92 inline void SetSignalCatalogArn(Aws::String&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::move(value); }
93 inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn.assign(value); }
94 inline CampaignSummary& WithSignalCatalogArn(const Aws::String& value) { SetSignalCatalogArn(value); return *this;}
95 inline CampaignSummary& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;}
96 inline CampaignSummary& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;}
98
100
103 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
104 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
105 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
106 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
107 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
108 inline CampaignSummary& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
109 inline CampaignSummary& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
110 inline CampaignSummary& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
112
114
126 inline const CampaignStatus& GetStatus() const{ return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 inline void SetStatus(const CampaignStatus& value) { m_statusHasBeenSet = true; m_status = value; }
129 inline void SetStatus(CampaignStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
130 inline CampaignSummary& WithStatus(const CampaignStatus& value) { SetStatus(value); return *this;}
131 inline CampaignSummary& WithStatus(CampaignStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
139 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
140 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
141 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
142 inline CampaignSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
143 inline CampaignSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
151 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
152 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
153 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
157 private:
158
159 Aws::String m_arn;
160 bool m_arnHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 Aws::String m_signalCatalogArn;
169 bool m_signalCatalogArnHasBeenSet = false;
170
171 Aws::String m_targetArn;
172 bool m_targetArnHasBeenSet = false;
173
174 CampaignStatus m_status;
175 bool m_statusHasBeenSet = false;
176
177 Aws::Utils::DateTime m_creationTime;
178 bool m_creationTimeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModificationTime;
181 bool m_lastModificationTimeHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace IoTFleetWise
186} // namespace Aws
CampaignSummary & WithStatus(CampaignStatus &&value)
void SetStatus(const CampaignStatus &value)
void SetSignalCatalogArn(Aws::String &&value)
const Aws::String & GetTargetArn() const
CampaignSummary & WithName(Aws::String &&value)
CampaignSummary & WithTargetArn(Aws::String &&value)
AWS_IOTFLEETWISE_API CampaignSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModificationTime() const
CampaignSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetStatus(CampaignStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CampaignSummary & WithSignalCatalogArn(const char *value)
CampaignSummary & WithArn(Aws::String &&value)
CampaignSummary & WithSignalCatalogArn(const Aws::String &value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
void SetSignalCatalogArn(const Aws::String &value)
CampaignSummary & WithDescription(const Aws::String &value)
CampaignSummary & WithTargetArn(const Aws::String &value)
void SetTargetArn(const Aws::String &value)
CampaignSummary & WithStatus(const CampaignStatus &value)
void SetArn(const Aws::String &value)
CampaignSummary & WithTargetArn(const char *value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
CampaignSummary & WithName(const Aws::String &value)
CampaignSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
CampaignSummary & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CampaignSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
CampaignSummary & WithCreationTime(const Aws::Utils::DateTime &value)
CampaignSummary & WithArn(const Aws::String &value)
void SetName(const Aws::String &value)
const CampaignStatus & GetStatus() const
CampaignSummary & WithDescription(const char *value)
CampaignSummary & WithArn(const char *value)
CampaignSummary & WithName(const char *value)
CampaignSummary & WithSignalCatalogArn(Aws::String &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSignalCatalogArn() const
AWS_IOTFLEETWISE_API CampaignSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue