AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigurationTemplateDeliveryConfigValues.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/S3DeliveryConfiguration.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 CloudWatchLogs
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues() = default;
43 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::Vector<Aws::String>& GetRecordFields() const { return m_recordFields; }
54 inline bool RecordFieldsHasBeenSet() const { return m_recordFieldsHasBeenSet; }
55 template<typename RecordFieldsT = Aws::Vector<Aws::String>>
56 void SetRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet = true; m_recordFields = std::forward<RecordFieldsT>(value); }
57 template<typename RecordFieldsT = Aws::Vector<Aws::String>>
58 ConfigurationTemplateDeliveryConfigValues& WithRecordFields(RecordFieldsT&& value) { SetRecordFields(std::forward<RecordFieldsT>(value)); return *this;}
59 template<typename RecordFieldsT = Aws::String>
60 ConfigurationTemplateDeliveryConfigValues& AddRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet = true; m_recordFields.emplace_back(std::forward<RecordFieldsT>(value)); return *this; }
62
64
71 inline const Aws::String& GetFieldDelimiter() const { return m_fieldDelimiter; }
72 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
73 template<typename FieldDelimiterT = Aws::String>
74 void SetFieldDelimiter(FieldDelimiterT&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::forward<FieldDelimiterT>(value); }
75 template<typename FieldDelimiterT = Aws::String>
76 ConfigurationTemplateDeliveryConfigValues& WithFieldDelimiter(FieldDelimiterT&& value) { SetFieldDelimiter(std::forward<FieldDelimiterT>(value)); return *this;}
78
80
84 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const { return m_s3DeliveryConfiguration; }
85 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
86 template<typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
87 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value); }
88 template<typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
89 ConfigurationTemplateDeliveryConfigValues& WithS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { SetS3DeliveryConfiguration(std::forward<S3DeliveryConfigurationT>(value)); return *this;}
91 private:
92
93 Aws::Vector<Aws::String> m_recordFields;
94 bool m_recordFieldsHasBeenSet = false;
95
96 Aws::String m_fieldDelimiter;
97 bool m_fieldDelimiterHasBeenSet = false;
98
99 S3DeliveryConfiguration m_s3DeliveryConfiguration;
100 bool m_s3DeliveryConfigurationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CloudWatchLogs
105} // 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