AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_RDS_API StartActivityStreamRequest() = default;
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 template<typename ResourceArnT = Aws::String>
48 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
49 template<typename ResourceArnT = Aws::String>
50 StartActivityStreamRequest& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
52
54
59 inline ActivityStreamMode GetMode() const { return m_mode; }
60 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
61 inline void SetMode(ActivityStreamMode value) { m_modeHasBeenSet = true; m_mode = value; }
62 inline StartActivityStreamRequest& WithMode(ActivityStreamMode value) { SetMode(value); return *this;}
64
66
71 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
72 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
73 template<typename KmsKeyIdT = Aws::String>
74 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
75 template<typename KmsKeyIdT = Aws::String>
76 StartActivityStreamRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
78
80
84 inline bool GetApplyImmediately() const { return m_applyImmediately; }
85 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
86 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
87 inline StartActivityStreamRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
89
91
96 inline bool GetEngineNativeAuditFieldsIncluded() const { return m_engineNativeAuditFieldsIncluded; }
97 inline bool EngineNativeAuditFieldsIncludedHasBeenSet() const { return m_engineNativeAuditFieldsIncludedHasBeenSet; }
98 inline void SetEngineNativeAuditFieldsIncluded(bool value) { m_engineNativeAuditFieldsIncludedHasBeenSet = true; m_engineNativeAuditFieldsIncluded = value; }
101 private:
102
103 Aws::String m_resourceArn;
104 bool m_resourceArnHasBeenSet = false;
105
107 bool m_modeHasBeenSet = false;
108
109 Aws::String m_kmsKeyId;
110 bool m_kmsKeyIdHasBeenSet = false;
111
112 bool m_applyImmediately{false};
113 bool m_applyImmediatelyHasBeenSet = false;
114
115 bool m_engineNativeAuditFieldsIncluded{false};
116 bool m_engineNativeAuditFieldsIncludedHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace RDS
121} // namespace Aws
StartActivityStreamRequest & WithKmsKeyId(KmsKeyIdT &&value)
StartActivityStreamRequest & WithApplyImmediately(bool value)
StartActivityStreamRequest & WithResourceArn(ResourceArnT &&value)
AWS_RDS_API StartActivityStreamRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
StartActivityStreamRequest & WithEngineNativeAuditFieldsIncluded(bool 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