AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartActivityStreamRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/ActivityStreamMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RDS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartActivityStream"; }
32
33 AWS_RDS_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
46 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
47 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
48 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
49 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
50 inline StartActivityStreamRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
51 inline StartActivityStreamRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
52 inline StartActivityStreamRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
54
56
61 inline const ActivityStreamMode& GetMode() const{ return m_mode; }
62 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
63 inline void SetMode(const ActivityStreamMode& value) { m_modeHasBeenSet = true; m_mode = value; }
64 inline void SetMode(ActivityStreamMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
65 inline StartActivityStreamRequest& WithMode(const ActivityStreamMode& value) { SetMode(value); return *this;}
66 inline StartActivityStreamRequest& WithMode(ActivityStreamMode&& value) { SetMode(std::move(value)); return *this;}
68
70
75 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
76 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
77 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
78 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
79 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
80 inline StartActivityStreamRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
81 inline StartActivityStreamRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
82 inline StartActivityStreamRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
84
86
90 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
91 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
92 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
93 inline StartActivityStreamRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
95
97
102 inline bool GetEngineNativeAuditFieldsIncluded() const{ return m_engineNativeAuditFieldsIncluded; }
103 inline bool EngineNativeAuditFieldsIncludedHasBeenSet() const { return m_engineNativeAuditFieldsIncludedHasBeenSet; }
104 inline void SetEngineNativeAuditFieldsIncluded(bool value) { m_engineNativeAuditFieldsIncludedHasBeenSet = true; m_engineNativeAuditFieldsIncluded = value; }
107 private:
108
109 Aws::String m_resourceArn;
110 bool m_resourceArnHasBeenSet = false;
111
112 ActivityStreamMode m_mode;
113 bool m_modeHasBeenSet = false;
114
115 Aws::String m_kmsKeyId;
116 bool m_kmsKeyIdHasBeenSet = false;
117
118 bool m_applyImmediately;
119 bool m_applyImmediatelyHasBeenSet = false;
120
121 bool m_engineNativeAuditFieldsIncluded;
122 bool m_engineNativeAuditFieldsIncludedHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace RDS
127} // namespace Aws
StartActivityStreamRequest & WithResourceArn(const char *value)
StartActivityStreamRequest & WithResourceArn(const Aws::String &value)
void SetMode(const ActivityStreamMode &value)
StartActivityStreamRequest & WithApplyImmediately(bool value)
StartActivityStreamRequest & WithKmsKeyId(const Aws::String &value)
StartActivityStreamRequest & WithKmsKeyId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartActivityStreamRequest & WithResourceArn(Aws::String &&value)
StartActivityStreamRequest & WithKmsKeyId(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
StartActivityStreamRequest & WithEngineNativeAuditFieldsIncluded(bool value)
StartActivityStreamRequest & WithMode(const ActivityStreamMode &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
StartActivityStreamRequest & WithMode(ActivityStreamMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String