AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopImportResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/ImportSource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/ImportStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/cloudtrail/model/ImportStatistics.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CloudTrail
29{
30namespace Model
31{
33 {
34 public:
35 AWS_CLOUDTRAIL_API StopImportResult();
38
39
41
44 inline const Aws::String& GetImportId() const{ return m_importId; }
45 inline void SetImportId(const Aws::String& value) { m_importId = value; }
46 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
47 inline void SetImportId(const char* value) { m_importId.assign(value); }
48 inline StopImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
49 inline StopImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
50 inline StopImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
52
54
57 inline const ImportSource& GetImportSource() const{ return m_importSource; }
58 inline void SetImportSource(const ImportSource& value) { m_importSource = value; }
59 inline void SetImportSource(ImportSource&& value) { m_importSource = std::move(value); }
60 inline StopImportResult& WithImportSource(const ImportSource& value) { SetImportSource(value); return *this;}
61 inline StopImportResult& WithImportSource(ImportSource&& value) { SetImportSource(std::move(value)); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetDestinations() const{ return m_destinations; }
69 inline void SetDestinations(const Aws::Vector<Aws::String>& value) { m_destinations = value; }
70 inline void SetDestinations(Aws::Vector<Aws::String>&& value) { m_destinations = std::move(value); }
71 inline StopImportResult& WithDestinations(const Aws::Vector<Aws::String>& value) { SetDestinations(value); return *this;}
72 inline StopImportResult& WithDestinations(Aws::Vector<Aws::String>&& value) { SetDestinations(std::move(value)); return *this;}
73 inline StopImportResult& AddDestinations(const Aws::String& value) { m_destinations.push_back(value); return *this; }
74 inline StopImportResult& AddDestinations(Aws::String&& value) { m_destinations.push_back(std::move(value)); return *this; }
75 inline StopImportResult& AddDestinations(const char* value) { m_destinations.push_back(value); return *this; }
77
79
82 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
83 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
84 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
85 inline StopImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
86 inline StopImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
94 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
95 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
97 inline StopImportResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
105 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestamp = value; }
106 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestamp = std::move(value); }
108 inline StopImportResult& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
110
112
117 inline const Aws::Utils::DateTime& GetStartEventTime() const{ return m_startEventTime; }
118 inline void SetStartEventTime(const Aws::Utils::DateTime& value) { m_startEventTime = value; }
119 inline void SetStartEventTime(Aws::Utils::DateTime&& value) { m_startEventTime = std::move(value); }
120 inline StopImportResult& WithStartEventTime(const Aws::Utils::DateTime& value) { SetStartEventTime(value); return *this;}
121 inline StopImportResult& WithStartEventTime(Aws::Utils::DateTime&& value) { SetStartEventTime(std::move(value)); return *this;}
123
125
130 inline const Aws::Utils::DateTime& GetEndEventTime() const{ return m_endEventTime; }
131 inline void SetEndEventTime(const Aws::Utils::DateTime& value) { m_endEventTime = value; }
132 inline void SetEndEventTime(Aws::Utils::DateTime&& value) { m_endEventTime = std::move(value); }
133 inline StopImportResult& WithEndEventTime(const Aws::Utils::DateTime& value) { SetEndEventTime(value); return *this;}
134 inline StopImportResult& WithEndEventTime(Aws::Utils::DateTime&& value) { SetEndEventTime(std::move(value)); return *this;}
136
138
141 inline const ImportStatistics& GetImportStatistics() const{ return m_importStatistics; }
142 inline void SetImportStatistics(const ImportStatistics& value) { m_importStatistics = value; }
143 inline void SetImportStatistics(ImportStatistics&& value) { m_importStatistics = std::move(value); }
144 inline StopImportResult& WithImportStatistics(const ImportStatistics& value) { SetImportStatistics(value); return *this;}
145 inline StopImportResult& WithImportStatistics(ImportStatistics&& value) { SetImportStatistics(std::move(value)); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const{ return m_requestId; }
151 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
152 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
153 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
154 inline StopImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
155 inline StopImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
156 inline StopImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
158 private:
159
160 Aws::String m_importId;
161
162 ImportSource m_importSource;
163
164 Aws::Vector<Aws::String> m_destinations;
165
166 ImportStatus m_importStatus;
167
168 Aws::Utils::DateTime m_createdTimestamp;
169
170 Aws::Utils::DateTime m_updatedTimestamp;
171
172 Aws::Utils::DateTime m_startEventTime;
173
174 Aws::Utils::DateTime m_endEventTime;
175
176 ImportStatistics m_importStatistics;
177
178 Aws::String m_requestId;
179 };
180
181} // namespace Model
182} // namespace CloudTrail
183} // namespace Aws
StopImportResult & WithEndEventTime(const Aws::Utils::DateTime &value)
StopImportResult & WithStartEventTime(Aws::Utils::DateTime &&value)
StopImportResult & WithImportSource(ImportSource &&value)
void SetImportSource(const ImportSource &value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
StopImportResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
StopImportResult & WithStartEventTime(const Aws::Utils::DateTime &value)
StopImportResult & WithDestinations(Aws::Vector< Aws::String > &&value)
void SetDestinations(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetStartEventTime() const
const Aws::String & GetImportId() const
void SetStartEventTime(Aws::Utils::DateTime &&value)
StopImportResult & WithImportId(Aws::String &&value)
StopImportResult & WithRequestId(const Aws::String &value)
StopImportResult & WithImportStatus(const ImportStatus &value)
void SetRequestId(const Aws::String &value)
void SetImportSource(ImportSource &&value)
const ImportSource & GetImportSource() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
StopImportResult & WithImportStatistics(const ImportStatistics &value)
StopImportResult & AddDestinations(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDestinations() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDTRAIL_API StopImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API StopImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImportStatus(ImportStatus &&value)
void SetDestinations(Aws::Vector< Aws::String > &&value)
StopImportResult & WithImportId(const Aws::String &value)
void SetImportId(const Aws::String &value)
const ImportStatus & GetImportStatus() const
StopImportResult & WithRequestId(const char *value)
StopImportResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetEndEventTime(const Aws::Utils::DateTime &value)
void SetImportStatistics(const ImportStatistics &value)
StopImportResult & AddDestinations(const char *value)
StopImportResult & WithImportStatistics(ImportStatistics &&value)
StopImportResult & WithImportId(const char *value)
StopImportResult & WithDestinations(const Aws::Vector< Aws::String > &value)
StopImportResult & AddDestinations(const Aws::String &value)
StopImportResult & WithEndEventTime(Aws::Utils::DateTime &&value)
void SetStartEventTime(const Aws::Utils::DateTime &value)
void SetImportStatus(const ImportStatus &value)
const Aws::String & GetRequestId() const
StopImportResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndEventTime() const
StopImportResult & WithImportSource(const ImportSource &value)
void SetEndEventTime(Aws::Utils::DateTime &&value)
StopImportResult & WithImportStatus(ImportStatus &&value)
const ImportStatistics & GetImportStatistics() const
void SetImportStatistics(ImportStatistics &&value)
StopImportResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
StopImportResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue