AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScopeDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dataexchange/model/LakeFormationTagPolicyDetails.h>
10#include <aws/dataexchange/model/RedshiftDataShareDetails.h>
11#include <aws/dataexchange/model/S3DataAccessDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataExchange
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATAEXCHANGE_API ScopeDetails();
39 AWS_DATAEXCHANGE_API ScopeDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAEXCHANGE_API ScopeDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<LakeFormationTagPolicyDetails>& GetLakeFormationTagPolicies() const{ return m_lakeFormationTagPolicies; }
49 inline bool LakeFormationTagPoliciesHasBeenSet() const { return m_lakeFormationTagPoliciesHasBeenSet; }
50 inline void SetLakeFormationTagPolicies(const Aws::Vector<LakeFormationTagPolicyDetails>& value) { m_lakeFormationTagPoliciesHasBeenSet = true; m_lakeFormationTagPolicies = value; }
51 inline void SetLakeFormationTagPolicies(Aws::Vector<LakeFormationTagPolicyDetails>&& value) { m_lakeFormationTagPoliciesHasBeenSet = true; m_lakeFormationTagPolicies = std::move(value); }
54 inline ScopeDetails& AddLakeFormationTagPolicies(const LakeFormationTagPolicyDetails& value) { m_lakeFormationTagPoliciesHasBeenSet = true; m_lakeFormationTagPolicies.push_back(value); return *this; }
55 inline ScopeDetails& AddLakeFormationTagPolicies(LakeFormationTagPolicyDetails&& value) { m_lakeFormationTagPoliciesHasBeenSet = true; m_lakeFormationTagPolicies.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<RedshiftDataShareDetails>& GetRedshiftDataShares() const{ return m_redshiftDataShares; }
63 inline bool RedshiftDataSharesHasBeenSet() const { return m_redshiftDataSharesHasBeenSet; }
64 inline void SetRedshiftDataShares(const Aws::Vector<RedshiftDataShareDetails>& value) { m_redshiftDataSharesHasBeenSet = true; m_redshiftDataShares = value; }
65 inline void SetRedshiftDataShares(Aws::Vector<RedshiftDataShareDetails>&& value) { m_redshiftDataSharesHasBeenSet = true; m_redshiftDataShares = std::move(value); }
68 inline ScopeDetails& AddRedshiftDataShares(const RedshiftDataShareDetails& value) { m_redshiftDataSharesHasBeenSet = true; m_redshiftDataShares.push_back(value); return *this; }
69 inline ScopeDetails& AddRedshiftDataShares(RedshiftDataShareDetails&& value) { m_redshiftDataSharesHasBeenSet = true; m_redshiftDataShares.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<S3DataAccessDetails>& GetS3DataAccesses() const{ return m_s3DataAccesses; }
77 inline bool S3DataAccessesHasBeenSet() const { return m_s3DataAccessesHasBeenSet; }
78 inline void SetS3DataAccesses(const Aws::Vector<S3DataAccessDetails>& value) { m_s3DataAccessesHasBeenSet = true; m_s3DataAccesses = value; }
79 inline void SetS3DataAccesses(Aws::Vector<S3DataAccessDetails>&& value) { m_s3DataAccessesHasBeenSet = true; m_s3DataAccesses = std::move(value); }
81 inline ScopeDetails& WithS3DataAccesses(Aws::Vector<S3DataAccessDetails>&& value) { SetS3DataAccesses(std::move(value)); return *this;}
82 inline ScopeDetails& AddS3DataAccesses(const S3DataAccessDetails& value) { m_s3DataAccessesHasBeenSet = true; m_s3DataAccesses.push_back(value); return *this; }
83 inline ScopeDetails& AddS3DataAccesses(S3DataAccessDetails&& value) { m_s3DataAccessesHasBeenSet = true; m_s3DataAccesses.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::Vector<LakeFormationTagPolicyDetails> m_lakeFormationTagPolicies;
88 bool m_lakeFormationTagPoliciesHasBeenSet = false;
89
90 Aws::Vector<RedshiftDataShareDetails> m_redshiftDataShares;
91 bool m_redshiftDataSharesHasBeenSet = false;
92
93 Aws::Vector<S3DataAccessDetails> m_s3DataAccesses;
94 bool m_s3DataAccessesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace DataExchange
99} // namespace Aws
ScopeDetails & AddRedshiftDataShares(const RedshiftDataShareDetails &value)
AWS_DATAEXCHANGE_API ScopeDetails(Aws::Utils::Json::JsonView jsonValue)
ScopeDetails & WithRedshiftDataShares(const Aws::Vector< RedshiftDataShareDetails > &value)
void SetS3DataAccesses(Aws::Vector< S3DataAccessDetails > &&value)
void SetRedshiftDataShares(Aws::Vector< RedshiftDataShareDetails > &&value)
void SetLakeFormationTagPolicies(Aws::Vector< LakeFormationTagPolicyDetails > &&value)
ScopeDetails & AddS3DataAccesses(const S3DataAccessDetails &value)
void SetLakeFormationTagPolicies(const Aws::Vector< LakeFormationTagPolicyDetails > &value)
ScopeDetails & WithLakeFormationTagPolicies(Aws::Vector< LakeFormationTagPolicyDetails > &&value)
const Aws::Vector< RedshiftDataShareDetails > & GetRedshiftDataShares() const
ScopeDetails & AddS3DataAccesses(S3DataAccessDetails &&value)
const Aws::Vector< S3DataAccessDetails > & GetS3DataAccesses() const
const Aws::Vector< LakeFormationTagPolicyDetails > & GetLakeFormationTagPolicies() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
ScopeDetails & AddLakeFormationTagPolicies(const LakeFormationTagPolicyDetails &value)
ScopeDetails & AddLakeFormationTagPolicies(LakeFormationTagPolicyDetails &&value)
ScopeDetails & WithLakeFormationTagPolicies(const Aws::Vector< LakeFormationTagPolicyDetails > &value)
void SetRedshiftDataShares(const Aws::Vector< RedshiftDataShareDetails > &value)
ScopeDetails & AddRedshiftDataShares(RedshiftDataShareDetails &&value)
void SetS3DataAccesses(const Aws::Vector< S3DataAccessDetails > &value)
AWS_DATAEXCHANGE_API ScopeDetails()
ScopeDetails & WithS3DataAccesses(Aws::Vector< S3DataAccessDetails > &&value)
AWS_DATAEXCHANGE_API ScopeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ScopeDetails & WithS3DataAccesses(const Aws::Vector< S3DataAccessDetails > &value)
ScopeDetails & WithRedshiftDataShares(Aws::Vector< RedshiftDataShareDetails > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue