AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatchLogs(const CloudWatchLogsDestinationConfig& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
45 inline void SetCloudWatchLogs(CloudWatchLogsDestinationConfig&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
49
51
55 inline const Aws::String& GetProject() const{ return m_project; }
56 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
57 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
58 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
59 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
60 inline UpdateProjectDataDeliveryRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
61 inline UpdateProjectDataDeliveryRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
62 inline UpdateProjectDataDeliveryRequest& WithProject(const char* value) { SetProject(value); return *this;}
64
66
70 inline const S3DestinationConfig& GetS3Destination() const{ return m_s3Destination; }
71 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
72 inline void SetS3Destination(const S3DestinationConfig& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
73 inline void SetS3Destination(S3DestinationConfig&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
77 private:
78
79 CloudWatchLogsDestinationConfig m_cloudWatchLogs;
80 bool m_cloudWatchLogsHasBeenSet = false;
81
82 Aws::String m_project;
83 bool m_projectHasBeenSet = false;
84
85 S3DestinationConfig m_s3Destination;
86 bool m_s3DestinationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CloudWatchEvidently
91} // namespace Aws
UpdateProjectDataDeliveryRequest & WithS3Destination(const S3DestinationConfig &value)
UpdateProjectDataDeliveryRequest & WithS3Destination(S3DestinationConfig &&value)
UpdateProjectDataDeliveryRequest & WithProject(const Aws::String &value)
UpdateProjectDataDeliveryRequest & WithProject(Aws::String &&value)
UpdateProjectDataDeliveryRequest & WithCloudWatchLogs(const CloudWatchLogsDestinationConfig &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
UpdateProjectDataDeliveryRequest & WithCloudWatchLogs(CloudWatchLogsDestinationConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String