AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
S3TableIntegrationSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/DataSource.h>
10#include <aws/logs/model/S3TableIntegrationSourceStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchLogs {
22namespace Model {
23
31 public:
32 AWS_CLOUDWATCHLOGS_API S3TableIntegrationSource() = default;
33 AWS_CLOUDWATCHLOGS_API S3TableIntegrationSource(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const DataSource& GetDataSource() const { return m_dataSource; }
60 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
61 template <typename DataSourceT = DataSource>
62 void SetDataSource(DataSourceT&& value) {
63 m_dataSourceHasBeenSet = true;
64 m_dataSource = std::forward<DataSourceT>(value);
65 }
66 template <typename DataSourceT = DataSource>
68 SetDataSource(std::forward<DataSourceT>(value));
69 return *this;
70 }
72
74
77 inline S3TableIntegrationSourceStatus GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 m_statusHasBeenSet = true;
81 m_status = value;
82 }
84 SetStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
94 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
95 template <typename StatusReasonT = Aws::String>
96 void SetStatusReason(StatusReasonT&& value) {
97 m_statusReasonHasBeenSet = true;
98 m_statusReason = std::forward<StatusReasonT>(value);
99 }
100 template <typename StatusReasonT = Aws::String>
102 SetStatusReason(std::forward<StatusReasonT>(value));
103 return *this;
104 }
106
108
111 inline long long GetCreatedTimeStamp() const { return m_createdTimeStamp; }
112 inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; }
113 inline void SetCreatedTimeStamp(long long value) {
114 m_createdTimeStampHasBeenSet = true;
115 m_createdTimeStamp = value;
116 }
118 SetCreatedTimeStamp(value);
119 return *this;
120 }
122 private:
123 Aws::String m_identifier;
124
125 DataSource m_dataSource;
126
128
129 Aws::String m_statusReason;
130
131 long long m_createdTimeStamp{0};
132 bool m_identifierHasBeenSet = false;
133 bool m_dataSourceHasBeenSet = false;
134 bool m_statusHasBeenSet = false;
135 bool m_statusReasonHasBeenSet = false;
136 bool m_createdTimeStampHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace CloudWatchLogs
141} // namespace Aws
S3TableIntegrationSource & WithStatus(S3TableIntegrationSourceStatus value)
AWS_CLOUDWATCHLOGS_API S3TableIntegrationSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API S3TableIntegrationSource(Aws::Utils::Json::JsonView jsonValue)
S3TableIntegrationSource & WithDataSource(DataSourceT &&value)
S3TableIntegrationSource & WithCreatedTimeStamp(long long value)
void SetStatus(S3TableIntegrationSourceStatus value)
AWS_CLOUDWATCHLOGS_API S3TableIntegrationSource()=default
S3TableIntegrationSource & WithStatusReason(StatusReasonT &&value)
S3TableIntegrationSource & WithIdentifier(IdentifierT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue