AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDeliveryConfigurationRequest.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/logs/model/S3DeliveryConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudWatchLogs
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDWATCHLOGS_API UpdateDeliveryConfigurationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeliveryConfiguration"; }
33
34 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
35
36 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 UpdateDeliveryConfigurationRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
57 inline const Aws::Vector<Aws::String>& GetRecordFields() const { return m_recordFields; }
58 inline bool RecordFieldsHasBeenSet() const { return m_recordFieldsHasBeenSet; }
59 template<typename RecordFieldsT = Aws::Vector<Aws::String>>
60 void SetRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet = true; m_recordFields = std::forward<RecordFieldsT>(value); }
61 template<typename RecordFieldsT = Aws::Vector<Aws::String>>
62 UpdateDeliveryConfigurationRequest& WithRecordFields(RecordFieldsT&& value) { SetRecordFields(std::forward<RecordFieldsT>(value)); return *this;}
63 template<typename RecordFieldsT = Aws::String>
64 UpdateDeliveryConfigurationRequest& AddRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet = true; m_recordFields.emplace_back(std::forward<RecordFieldsT>(value)); return *this; }
66
68
73 inline const Aws::String& GetFieldDelimiter() const { return m_fieldDelimiter; }
74 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
75 template<typename FieldDelimiterT = Aws::String>
76 void SetFieldDelimiter(FieldDelimiterT&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::forward<FieldDelimiterT>(value); }
77 template<typename FieldDelimiterT = Aws::String>
78 UpdateDeliveryConfigurationRequest& WithFieldDelimiter(FieldDelimiterT&& value) { SetFieldDelimiter(std::forward<FieldDelimiterT>(value)); return *this;}
80
82
86 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const { return m_s3DeliveryConfiguration; }
87 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
88 template<typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
89 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value); }
90 template<typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
91 UpdateDeliveryConfigurationRequest& WithS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { SetS3DeliveryConfiguration(std::forward<S3DeliveryConfigurationT>(value)); return *this;}
93 private:
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_recordFields;
99 bool m_recordFieldsHasBeenSet = false;
100
101 Aws::String m_fieldDelimiter;
102 bool m_fieldDelimiterHasBeenSet = false;
103
104 S3DeliveryConfiguration m_s3DeliveryConfiguration;
105 bool m_s3DeliveryConfigurationHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudWatchLogs
110} // 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