AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrossRegionCopyAction.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dlm/model/EncryptionConfiguration.h>
10#include <aws/dlm/model/CrossRegionCopyRetainRule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DLM
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_DLM_API CrossRegionCopyAction();
44
45
47
50 inline const Aws::String& GetTarget() const{ return m_target; }
51 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
52 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
53 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
54 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
55 inline CrossRegionCopyAction& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
56 inline CrossRegionCopyAction& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
57 inline CrossRegionCopyAction& WithTarget(const char* value) { SetTarget(value); return *this;}
59
61
64 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
65 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
66 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
67 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
71
73
74 inline const CrossRegionCopyRetainRule& GetRetainRule() const{ return m_retainRule; }
75 inline bool RetainRuleHasBeenSet() const { return m_retainRuleHasBeenSet; }
76 inline void SetRetainRule(const CrossRegionCopyRetainRule& value) { m_retainRuleHasBeenSet = true; m_retainRule = value; }
77 inline void SetRetainRule(CrossRegionCopyRetainRule&& value) { m_retainRuleHasBeenSet = true; m_retainRule = std::move(value); }
78 inline CrossRegionCopyAction& WithRetainRule(const CrossRegionCopyRetainRule& value) { SetRetainRule(value); return *this;}
79 inline CrossRegionCopyAction& WithRetainRule(CrossRegionCopyRetainRule&& value) { SetRetainRule(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_target;
84 bool m_targetHasBeenSet = false;
85
86 EncryptionConfiguration m_encryptionConfiguration;
87 bool m_encryptionConfigurationHasBeenSet = false;
88
89 CrossRegionCopyRetainRule m_retainRule;
90 bool m_retainRuleHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DLM
95} // namespace Aws
AWS_DLM_API CrossRegionCopyAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CrossRegionCopyAction & WithTarget(const char *value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
CrossRegionCopyAction & WithRetainRule(CrossRegionCopyRetainRule &&value)
AWS_DLM_API CrossRegionCopyAction(Aws::Utils::Json::JsonView jsonValue)
CrossRegionCopyAction & WithTarget(const Aws::String &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
const CrossRegionCopyRetainRule & GetRetainRule() const
void SetTarget(const Aws::String &value)
CrossRegionCopyAction & WithTarget(Aws::String &&value)
void SetRetainRule(const CrossRegionCopyRetainRule &value)
CrossRegionCopyAction & WithEncryptionConfiguration(EncryptionConfiguration &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetRetainRule(CrossRegionCopyRetainRule &&value)
CrossRegionCopyAction & WithEncryptionConfiguration(const EncryptionConfiguration &value)
CrossRegionCopyAction & WithRetainRule(const CrossRegionCopyRetainRule &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue