AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetRecordFields(const Aws::Vector<Aws::String>& value) { m_recordFieldsHasBeenSet = true; m_recordFields = value; }
56 inline void SetRecordFields(Aws::Vector<Aws::String>&& value) { m_recordFieldsHasBeenSet = true; m_recordFields = std::move(value); }
59 inline ConfigurationTemplateDeliveryConfigValues& AddRecordFields(const Aws::String& value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(value); return *this; }
60 inline ConfigurationTemplateDeliveryConfigValues& AddRecordFields(Aws::String&& value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(std::move(value)); return *this; }
61 inline ConfigurationTemplateDeliveryConfigValues& AddRecordFields(const char* value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(value); return *this; }
63
65
72 inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
73 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
74 inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
75 inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
76 inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
79 inline ConfigurationTemplateDeliveryConfigValues& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
81
83
87 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const{ return m_s3DeliveryConfiguration; }
88 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
89 inline void SetS3DeliveryConfiguration(const S3DeliveryConfiguration& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = value; }
90 inline void SetS3DeliveryConfiguration(S3DeliveryConfiguration&& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = std::move(value); }
94 private:
95
96 Aws::Vector<Aws::String> m_recordFields;
97 bool m_recordFieldsHasBeenSet = false;
98
99 Aws::String m_fieldDelimiter;
100 bool m_fieldDelimiterHasBeenSet = false;
101
102 S3DeliveryConfiguration m_s3DeliveryConfiguration;
103 bool m_s3DeliveryConfigurationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CloudWatchLogs
108} // namespace Aws
AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplateDeliveryConfigValues & AddRecordFields(const Aws::String &value)
ConfigurationTemplateDeliveryConfigValues & WithFieldDelimiter(const Aws::String &value)
ConfigurationTemplateDeliveryConfigValues & WithFieldDelimiter(const char *value)
ConfigurationTemplateDeliveryConfigValues & AddRecordFields(const char *value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationTemplateDeliveryConfigValues & WithS3DeliveryConfiguration(S3DeliveryConfiguration &&value)
ConfigurationTemplateDeliveryConfigValues & AddRecordFields(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplateDeliveryConfigValues(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplateDeliveryConfigValues & WithFieldDelimiter(Aws::String &&value)
ConfigurationTemplateDeliveryConfigValues & WithS3DeliveryConfiguration(const S3DeliveryConfiguration &value)
ConfigurationTemplateDeliveryConfigValues & WithRecordFields(const Aws::Vector< Aws::String > &value)
ConfigurationTemplateDeliveryConfigValues & WithRecordFields(Aws::Vector< 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