AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRetentionConfigurationRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9
10namespace Aws
11{
12namespace ConfigService
13{
14namespace Model
15{
16
20 {
21 public:
22 AWS_CONFIGSERVICE_API PutRetentionConfigurationRequest();
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutRetentionConfiguration"; }
29
30 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
34
36
40 inline int GetRetentionPeriodInDays() const{ return m_retentionPeriodInDays; }
41 inline bool RetentionPeriodInDaysHasBeenSet() const { return m_retentionPeriodInDaysHasBeenSet; }
42 inline void SetRetentionPeriodInDays(int value) { m_retentionPeriodInDaysHasBeenSet = true; m_retentionPeriodInDays = value; }
45 private:
46
47 int m_retentionPeriodInDays;
48 bool m_retentionPeriodInDaysHasBeenSet = false;
49 };
50
51} // namespace Model
52} // namespace ConfigService
53} // namespace Aws
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutRetentionConfigurationRequest & WithRetentionPeriodInDays(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String