AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
46 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
47 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
48 inline UpdateDeliveryConfigurationRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline UpdateDeliveryConfigurationRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline UpdateDeliveryConfigurationRequest& WithId(const char* value) { SetId(value); return *this;}
52
54
59 inline const Aws::Vector<Aws::String>& GetRecordFields() const{ return m_recordFields; }
60 inline bool RecordFieldsHasBeenSet() const { return m_recordFieldsHasBeenSet; }
61 inline void SetRecordFields(const Aws::Vector<Aws::String>& value) { m_recordFieldsHasBeenSet = true; m_recordFields = value; }
62 inline void SetRecordFields(Aws::Vector<Aws::String>&& value) { m_recordFieldsHasBeenSet = true; m_recordFields = std::move(value); }
65 inline UpdateDeliveryConfigurationRequest& AddRecordFields(const Aws::String& value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(value); return *this; }
66 inline UpdateDeliveryConfigurationRequest& AddRecordFields(Aws::String&& value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(std::move(value)); return *this; }
67 inline UpdateDeliveryConfigurationRequest& AddRecordFields(const char* value) { m_recordFieldsHasBeenSet = true; m_recordFields.push_back(value); return *this; }
69
71
76 inline const Aws::String& GetFieldDelimiter() const{ return m_fieldDelimiter; }
77 inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; }
78 inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; }
79 inline void SetFieldDelimiter(Aws::String&& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = std::move(value); }
80 inline void SetFieldDelimiter(const char* value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter.assign(value); }
82 inline UpdateDeliveryConfigurationRequest& WithFieldDelimiter(Aws::String&& value) { SetFieldDelimiter(std::move(value)); return *this;}
83 inline UpdateDeliveryConfigurationRequest& WithFieldDelimiter(const char* value) { SetFieldDelimiter(value); return *this;}
85
87
91 inline const S3DeliveryConfiguration& GetS3DeliveryConfiguration() const{ return m_s3DeliveryConfiguration; }
92 inline bool S3DeliveryConfigurationHasBeenSet() const { return m_s3DeliveryConfigurationHasBeenSet; }
93 inline void SetS3DeliveryConfiguration(const S3DeliveryConfiguration& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = value; }
94 inline void SetS3DeliveryConfiguration(S3DeliveryConfiguration&& value) { m_s3DeliveryConfigurationHasBeenSet = true; m_s3DeliveryConfiguration = std::move(value); }
98 private:
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_recordFields;
104 bool m_recordFieldsHasBeenSet = false;
105
106 Aws::String m_fieldDelimiter;
107 bool m_fieldDelimiterHasBeenSet = false;
108
109 S3DeliveryConfiguration m_s3DeliveryConfiguration;
110 bool m_s3DeliveryConfigurationHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudWatchLogs
115} // namespace Aws
UpdateDeliveryConfigurationRequest & WithFieldDelimiter(const Aws::String &value)
UpdateDeliveryConfigurationRequest & WithS3DeliveryConfiguration(S3DeliveryConfiguration &&value)
UpdateDeliveryConfigurationRequest & WithId(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
UpdateDeliveryConfigurationRequest & WithId(const char *value)
UpdateDeliveryConfigurationRequest & WithRecordFields(Aws::Vector< Aws::String > &&value)
UpdateDeliveryConfigurationRequest & WithId(const Aws::String &value)
UpdateDeliveryConfigurationRequest & WithRecordFields(const Aws::Vector< Aws::String > &value)
UpdateDeliveryConfigurationRequest & AddRecordFields(const char *value)
UpdateDeliveryConfigurationRequest & WithFieldDelimiter(Aws::String &&value)
UpdateDeliveryConfigurationRequest & AddRecordFields(Aws::String &&value)
UpdateDeliveryConfigurationRequest & AddRecordFields(const Aws::String &value)
UpdateDeliveryConfigurationRequest & WithFieldDelimiter(const char *value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDeliveryConfigurationRequest & WithS3DeliveryConfiguration(const S3DeliveryConfiguration &value)
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