AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/ImportSource.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudtrail/model/ImportStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CloudTrail
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLOUDTRAIL_API StartImportResult();
37
38
40
43 inline const Aws::String& GetImportId() const{ return m_importId; }
44 inline void SetImportId(const Aws::String& value) { m_importId = value; }
45 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
46 inline void SetImportId(const char* value) { m_importId.assign(value); }
47 inline StartImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
48 inline StartImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
49 inline StartImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetDestinations() const{ return m_destinations; }
57 inline void SetDestinations(const Aws::Vector<Aws::String>& value) { m_destinations = value; }
58 inline void SetDestinations(Aws::Vector<Aws::String>&& value) { m_destinations = std::move(value); }
59 inline StartImportResult& WithDestinations(const Aws::Vector<Aws::String>& value) { SetDestinations(value); return *this;}
60 inline StartImportResult& WithDestinations(Aws::Vector<Aws::String>&& value) { SetDestinations(std::move(value)); return *this;}
61 inline StartImportResult& AddDestinations(const Aws::String& value) { m_destinations.push_back(value); return *this; }
62 inline StartImportResult& AddDestinations(Aws::String&& value) { m_destinations.push_back(std::move(value)); return *this; }
63 inline StartImportResult& AddDestinations(const char* value) { m_destinations.push_back(value); return *this; }
65
67
70 inline const ImportSource& GetImportSource() const{ return m_importSource; }
71 inline void SetImportSource(const ImportSource& value) { m_importSource = value; }
72 inline void SetImportSource(ImportSource&& value) { m_importSource = std::move(value); }
73 inline StartImportResult& WithImportSource(const ImportSource& value) { SetImportSource(value); return *this;}
74 inline StartImportResult& WithImportSource(ImportSource&& value) { SetImportSource(std::move(value)); return *this;}
76
78
83 inline const Aws::Utils::DateTime& GetStartEventTime() const{ return m_startEventTime; }
84 inline void SetStartEventTime(const Aws::Utils::DateTime& value) { m_startEventTime = value; }
85 inline void SetStartEventTime(Aws::Utils::DateTime&& value) { m_startEventTime = std::move(value); }
86 inline StartImportResult& WithStartEventTime(const Aws::Utils::DateTime& value) { SetStartEventTime(value); return *this;}
87 inline StartImportResult& WithStartEventTime(Aws::Utils::DateTime&& value) { SetStartEventTime(std::move(value)); return *this;}
89
91
96 inline const Aws::Utils::DateTime& GetEndEventTime() const{ return m_endEventTime; }
97 inline void SetEndEventTime(const Aws::Utils::DateTime& value) { m_endEventTime = value; }
98 inline void SetEndEventTime(Aws::Utils::DateTime&& value) { m_endEventTime = std::move(value); }
99 inline StartImportResult& WithEndEventTime(const Aws::Utils::DateTime& value) { SetEndEventTime(value); return *this;}
100 inline StartImportResult& WithEndEventTime(Aws::Utils::DateTime&& value) { SetEndEventTime(std::move(value)); return *this;}
102
104
109 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
110 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
111 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
112 inline StartImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
113 inline StartImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
121 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
122 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
124 inline StartImportResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
132 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestamp = value; }
133 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestamp = std::move(value); }
135 inline StartImportResult& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const{ return m_requestId; }
141 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
142 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
143 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline StartImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
145 inline StartImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
146 inline StartImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 private:
149
150 Aws::String m_importId;
151
152 Aws::Vector<Aws::String> m_destinations;
153
154 ImportSource m_importSource;
155
156 Aws::Utils::DateTime m_startEventTime;
157
158 Aws::Utils::DateTime m_endEventTime;
159
160 ImportStatus m_importStatus;
161
162 Aws::Utils::DateTime m_createdTimestamp;
163
164 Aws::Utils::DateTime m_updatedTimestamp;
165
166 Aws::String m_requestId;
167 };
168
169} // namespace Model
170} // namespace CloudTrail
171} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
const Aws::Vector< Aws::String > & GetDestinations() const
StartImportResult & WithRequestId(Aws::String &&value)
StartImportResult & WithDestinations(Aws::Vector< Aws::String > &&value)
StartImportResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & AddDestinations(Aws::String &&value)
void SetImportStatus(const ImportStatus &value)
StartImportResult & WithImportId(const char *value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & WithEndEventTime(Aws::Utils::DateTime &&value)
StartImportResult & WithImportStatus(const ImportStatus &value)
StartImportResult & AddDestinations(const char *value)
StartImportResult & WithImportSource(const ImportSource &value)
void SetRequestId(const Aws::String &value)
StartImportResult & WithEndEventTime(const Aws::Utils::DateTime &value)
StartImportResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & WithImportStatus(ImportStatus &&value)
const Aws::Utils::DateTime & GetEndEventTime() const
void SetDestinations(Aws::Vector< Aws::String > &&value)
StartImportResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetEndEventTime(const Aws::Utils::DateTime &value)
StartImportResult & WithImportId(const Aws::String &value)
AWS_CLOUDTRAIL_API StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetStartEventTime(Aws::Utils::DateTime &&value)
StartImportResult & WithImportId(Aws::String &&value)
StartImportResult & WithImportSource(ImportSource &&value)
void SetImportId(const Aws::String &value)
void SetStartEventTime(const Aws::Utils::DateTime &value)
void SetImportSource(const ImportSource &value)
StartImportResult & WithDestinations(const Aws::Vector< Aws::String > &value)
const ImportSource & GetImportSource() const
StartImportResult & WithStartEventTime(const Aws::Utils::DateTime &value)
const ImportStatus & GetImportStatus() const
StartImportResult & WithRequestId(const Aws::String &value)
StartImportResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetDestinations(const Aws::Vector< Aws::String > &value)
StartImportResult & WithStartEventTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
AWS_CLOUDTRAIL_API StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetEndEventTime(Aws::Utils::DateTime &&value)
StartImportResult & AddDestinations(const Aws::String &value)
StartImportResult & WithRequestId(const char *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