AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProjectDataDeliveryRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/evidently/model/CloudWatchLogsDestinationConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/evidently/model/S3DestinationConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudWatchEvidently
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDWATCHEVIDENTLY_API UpdateProjectDataDeliveryRequest() = 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 "UpdateProjectDataDelivery"; }
33
34 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
35
36
38
42 inline const CloudWatchLogsDestinationConfig& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
43 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
44 template<typename CloudWatchLogsT = CloudWatchLogsDestinationConfig>
45 void SetCloudWatchLogs(CloudWatchLogsT&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value); }
46 template<typename CloudWatchLogsT = CloudWatchLogsDestinationConfig>
47 UpdateProjectDataDeliveryRequest& WithCloudWatchLogs(CloudWatchLogsT&& value) { SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value)); return *this;}
49
51
55 inline const Aws::String& GetProject() const { return m_project; }
56 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
57 template<typename ProjectT = Aws::String>
58 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
59 template<typename ProjectT = Aws::String>
60 UpdateProjectDataDeliveryRequest& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
62
64
68 inline const S3DestinationConfig& GetS3Destination() const { return m_s3Destination; }
69 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
70 template<typename S3DestinationT = S3DestinationConfig>
71 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::forward<S3DestinationT>(value); }
72 template<typename S3DestinationT = S3DestinationConfig>
73 UpdateProjectDataDeliveryRequest& WithS3Destination(S3DestinationT&& value) { SetS3Destination(std::forward<S3DestinationT>(value)); return *this;}
75 private:
76
77 CloudWatchLogsDestinationConfig m_cloudWatchLogs;
78 bool m_cloudWatchLogsHasBeenSet = false;
79
80 Aws::String m_project;
81 bool m_projectHasBeenSet = false;
82
83 S3DestinationConfig m_s3Destination;
84 bool m_s3DestinationHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CloudWatchEvidently
89} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API UpdateProjectDataDeliveryRequest()=default
UpdateProjectDataDeliveryRequest & WithCloudWatchLogs(CloudWatchLogsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
UpdateProjectDataDeliveryRequest & WithS3Destination(S3DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String