AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConfigurationTemplateDeliveryConfigValues.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/S3DeliveryConfiguration.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
34 public:
35 AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues() = default;
38 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline const Aws::Vector<Aws::String>& GetRecordFields() const { return m_recordFields; }
48 inline bool RecordFieldsHasBeenSet() const { return m_recordFieldsHasBeenSet; }
49 template <typename RecordFieldsT = Aws::Vector<Aws::String>>
50 void SetRecordFields(RecordFieldsT&& value) {
51 m_recordFieldsHasBeenSet = true;
52 m_recordFields = std::forward<RecordFieldsT>(value);
53 }
54 template <typename RecordFieldsT = Aws::Vector<Aws::String>>
56 SetRecordFields(std::forward<RecordFieldsT>(value));
57 return *this;
58 }
59 template <typename RecordFieldsT = Aws::String>
61 m_recordFieldsHasBeenSet = true;
62 m_recordFields.emplace_back(std::forward<RecordFieldsT>(value));
63 return *this;
64 }
66
68
75 inline const Aws::String& GetFieldDelimiter() const { return m_fieldDelimiter; }
76 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
77 template <typename FieldDelimiterT = Aws::String>
78 void SetFieldDelimiter(FieldDelimiterT&& value) {
79 m_fieldDelimiterHasBeenSet = true;
80 m_fieldDelimiter = std::forward<FieldDelimiterT>(value);
81 }
82 template <typename FieldDelimiterT = Aws::String>
84 SetFieldDelimiter(std::forward<FieldDelimiterT>(value));
85 return *this;
86 }
88
90
94 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const { return m_s3DeliveryConfiguration; }
95 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
96 template <typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
97 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) {
98 m_s3DeliveryConfigurationHasBeenSet = true;
99 m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value);
100 }
101 template <typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
103 SetS3DeliveryConfiguration(std::forward<S3DeliveryConfigurationT>(value));
104 return *this;
105 }
107 private:
108 Aws::Vector<Aws::String> m_recordFields;
109
110 Aws::String m_fieldDelimiter;
111
112 S3DeliveryConfiguration m_s3DeliveryConfiguration;
113 bool m_recordFieldsHasBeenSet = false;
114 bool m_fieldDelimiterHasBeenSet = false;
115 bool m_s3DeliveryConfigurationHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace CloudWatchLogs
120} // namespace Aws
ConfigurationTemplateDeliveryConfigValues & WithS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplateDeliveryConfigValues & WithFieldDelimiter(FieldDelimiterT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplateDeliveryConfigValues & AddRecordFields(RecordFieldsT &&value)
ConfigurationTemplateDeliveryConfigValues & WithRecordFields(RecordFieldsT &&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