AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataLakeReplicationConfiguration.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityLake
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYLAKE_API DataLakeReplicationConfiguration() = default;
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
58 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
59 template<typename RegionsT = Aws::Vector<Aws::String>>
60 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions = std::forward<RegionsT>(value); }
61 template<typename RegionsT = Aws::Vector<Aws::String>>
62 DataLakeReplicationConfiguration& WithRegions(RegionsT&& value) { SetRegions(std::forward<RegionsT>(value)); return *this;}
63 template<typename RegionsT = Aws::String>
64 DataLakeReplicationConfiguration& AddRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions.emplace_back(std::forward<RegionsT>(value)); return *this; }
66
68
73 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
74 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
75 template<typename RoleArnT = Aws::String>
76 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
77 template<typename RoleArnT = Aws::String>
78 DataLakeReplicationConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
80 private:
81
83 bool m_regionsHasBeenSet = false;
84
85 Aws::String m_roleArn;
86 bool m_roleArnHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SecurityLake
91} // namespace Aws
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API DataLakeReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeReplicationConfiguration & WithRoleArn(RoleArnT &&value)
DataLakeReplicationConfiguration & WithRegions(RegionsT &&value)
AWS_SECURITYLAKE_API DataLakeReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeReplicationConfiguration()=default
DataLakeReplicationConfiguration & AddRegions(RegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue