AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateDeliveryConfigurationRequest.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/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/S3DeliveryConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CloudWatchLogs {
17namespace Model {
18
22 public:
23 AWS_CLOUDWATCHLOGS_API UpdateDeliveryConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeliveryConfiguration"; }
30
31 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
32
33 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Vector<Aws::String>& GetRecordFields() const { return m_recordFields; }
60 inline bool RecordFieldsHasBeenSet() const { return m_recordFieldsHasBeenSet; }
61 template <typename RecordFieldsT = Aws::Vector<Aws::String>>
62 void SetRecordFields(RecordFieldsT&& value) {
63 m_recordFieldsHasBeenSet = true;
64 m_recordFields = std::forward<RecordFieldsT>(value);
65 }
66 template <typename RecordFieldsT = Aws::Vector<Aws::String>>
68 SetRecordFields(std::forward<RecordFieldsT>(value));
69 return *this;
70 }
71 template <typename RecordFieldsT = Aws::String>
73 m_recordFieldsHasBeenSet = true;
74 m_recordFields.emplace_back(std::forward<RecordFieldsT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetFieldDelimiter() const { return m_fieldDelimiter; }
86 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
87 template <typename FieldDelimiterT = Aws::String>
88 void SetFieldDelimiter(FieldDelimiterT&& value) {
89 m_fieldDelimiterHasBeenSet = true;
90 m_fieldDelimiter = std::forward<FieldDelimiterT>(value);
91 }
92 template <typename FieldDelimiterT = Aws::String>
94 SetFieldDelimiter(std::forward<FieldDelimiterT>(value));
95 return *this;
96 }
98
100
104 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const { return m_s3DeliveryConfiguration; }
105 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
106 template <typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
107 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) {
108 m_s3DeliveryConfigurationHasBeenSet = true;
109 m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value);
110 }
111 template <typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
113 SetS3DeliveryConfiguration(std::forward<S3DeliveryConfigurationT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_id;
119
120 Aws::Vector<Aws::String> m_recordFields;
121
122 Aws::String m_fieldDelimiter;
123
124 S3DeliveryConfiguration m_s3DeliveryConfiguration;
125 bool m_idHasBeenSet = false;
126 bool m_recordFieldsHasBeenSet = false;
127 bool m_fieldDelimiterHasBeenSet = false;
128 bool m_s3DeliveryConfigurationHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace CloudWatchLogs
133} // namespace Aws
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
UpdateDeliveryConfigurationRequest & AddRecordFields(RecordFieldsT &&value)
UpdateDeliveryConfigurationRequest & WithFieldDelimiter(FieldDelimiterT &&value)
UpdateDeliveryConfigurationRequest & WithS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
UpdateDeliveryConfigurationRequest & WithRecordFields(RecordFieldsT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API UpdateDeliveryConfigurationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector