AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DataLakeReplicationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securitylake/SecurityLake_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityLake {
21namespace Model {
22
30 public:
31 AWS_SECURITYLAKE_API DataLakeReplicationConfiguration() = default;
34 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
51 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
52 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
53 template <typename RegionsT = Aws::Vector<Aws::String>>
54 void SetRegions(RegionsT&& value) {
55 m_regionsHasBeenSet = true;
56 m_regions = std::forward<RegionsT>(value);
57 }
58 template <typename RegionsT = Aws::Vector<Aws::String>>
60 SetRegions(std::forward<RegionsT>(value));
61 return *this;
62 }
63 template <typename RegionsT = Aws::String>
65 m_regionsHasBeenSet = true;
66 m_regions.emplace_back(std::forward<RegionsT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 template <typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) {
81 m_roleArnHasBeenSet = true;
82 m_roleArn = std::forward<RoleArnT>(value);
83 }
84 template <typename RoleArnT = Aws::String>
86 SetRoleArn(std::forward<RoleArnT>(value));
87 return *this;
88 }
90 private:
92
93 Aws::String m_roleArn;
94 bool m_regionsHasBeenSet = false;
95 bool m_roleArnHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SecurityLake
100} // 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