AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
PutAccountDataRetentionRequest.h
1
6#pragma once
7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/DataRetentionMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Bedrock {
15namespace Model {
16
20 public:
21 AWS_BEDROCK_API PutAccountDataRetentionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PutAccountDataRetention"; }
28
29 AWS_BEDROCK_API Aws::String SerializePayload() const override;
30
32
35 inline DataRetentionMode GetMode() const { return m_mode; }
36 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
37 inline void SetMode(DataRetentionMode value) {
38 m_modeHasBeenSet = true;
39 m_mode = value;
40 }
42 SetMode(value);
43 return *this;
44 }
46 private:
48 bool m_modeHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace Bedrock
53} // namespace Aws
AWS_BEDROCK_API PutAccountDataRetentionRequest()=default
PutAccountDataRetentionRequest & WithMode(DataRetentionMode value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String