AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRetentionSettingsRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/RetentionSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Chime
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 "PutRetentionSettings"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const{ return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline PutRetentionSettingsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline PutRetentionSettingsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline PutRetentionSettingsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const RetentionSettings& GetRetentionSettings() const{ return m_retentionSettings; }
55 inline bool RetentionSettingsHasBeenSet() const { return m_retentionSettingsHasBeenSet; }
56 inline void SetRetentionSettings(const RetentionSettings& value) { m_retentionSettingsHasBeenSet = true; m_retentionSettings = value; }
57 inline void SetRetentionSettings(RetentionSettings&& value) { m_retentionSettingsHasBeenSet = true; m_retentionSettings = std::move(value); }
61 private:
62
63 Aws::String m_accountId;
64 bool m_accountIdHasBeenSet = false;
65
66 RetentionSettings m_retentionSettings;
67 bool m_retentionSettingsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Chime
72} // namespace Aws
PutRetentionSettingsRequest & WithAccountId(const Aws::String &value)
AWS_CHIME_API Aws::String SerializePayload() const override
PutRetentionSettingsRequest & WithRetentionSettings(RetentionSettings &&value)
virtual const char * GetServiceRequestName() const override
PutRetentionSettingsRequest & WithAccountId(const char *value)
PutRetentionSettingsRequest & WithAccountId(Aws::String &&value)
void SetRetentionSettings(const RetentionSettings &value)
PutRetentionSettingsRequest & WithRetentionSettings(const RetentionSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String