AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
60 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
62 inline DataLakeReplicationConfiguration& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
63 inline DataLakeReplicationConfiguration& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
64 inline DataLakeReplicationConfiguration& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
65 inline DataLakeReplicationConfiguration& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
67
69
74 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
75 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
76 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
77 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
78 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
79 inline DataLakeReplicationConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
80 inline DataLakeReplicationConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
81 inline DataLakeReplicationConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
83 private:
84
86 bool m_regionsHasBeenSet = false;
87
88 Aws::String m_roleArn;
89 bool m_roleArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SecurityLake
94} // namespace Aws
DataLakeReplicationConfiguration & WithRoleArn(Aws::String &&value)
DataLakeReplicationConfiguration & WithRoleArn(const Aws::String &value)
DataLakeReplicationConfiguration & AddRegions(const Aws::String &value)
DataLakeReplicationConfiguration & WithRegions(Aws::Vector< Aws::String > &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API DataLakeReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeReplicationConfiguration & AddRegions(const char *value)
AWS_SECURITYLAKE_API DataLakeReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
DataLakeReplicationConfiguration & WithRoleArn(const char *value)
DataLakeReplicationConfiguration & AddRegions(Aws::String &&value)
DataLakeReplicationConfiguration & WithRegions(const Aws::Vector< Aws::String > &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