AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProviderIntermediateDataAccessConfiguration.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_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 EntityResolution
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API ProviderIntermediateDataAccessConfiguration() = default;
39 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetAwsAccountIds() const { return m_awsAccountIds; }
48 inline bool AwsAccountIdsHasBeenSet() const { return m_awsAccountIdsHasBeenSet; }
49 template<typename AwsAccountIdsT = Aws::Vector<Aws::String>>
50 void SetAwsAccountIds(AwsAccountIdsT&& value) { m_awsAccountIdsHasBeenSet = true; m_awsAccountIds = std::forward<AwsAccountIdsT>(value); }
51 template<typename AwsAccountIdsT = Aws::Vector<Aws::String>>
52 ProviderIntermediateDataAccessConfiguration& WithAwsAccountIds(AwsAccountIdsT&& value) { SetAwsAccountIds(std::forward<AwsAccountIdsT>(value)); return *this;}
53 template<typename AwsAccountIdsT = Aws::String>
54 ProviderIntermediateDataAccessConfiguration& AddAwsAccountIds(AwsAccountIdsT&& value) { m_awsAccountIdsHasBeenSet = true; m_awsAccountIds.emplace_back(std::forward<AwsAccountIdsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetRequiredBucketActions() const { return m_requiredBucketActions; }
62 inline bool RequiredBucketActionsHasBeenSet() const { return m_requiredBucketActionsHasBeenSet; }
63 template<typename RequiredBucketActionsT = Aws::Vector<Aws::String>>
64 void SetRequiredBucketActions(RequiredBucketActionsT&& value) { m_requiredBucketActionsHasBeenSet = true; m_requiredBucketActions = std::forward<RequiredBucketActionsT>(value); }
65 template<typename RequiredBucketActionsT = Aws::Vector<Aws::String>>
66 ProviderIntermediateDataAccessConfiguration& WithRequiredBucketActions(RequiredBucketActionsT&& value) { SetRequiredBucketActions(std::forward<RequiredBucketActionsT>(value)); return *this;}
67 template<typename RequiredBucketActionsT = Aws::String>
68 ProviderIntermediateDataAccessConfiguration& AddRequiredBucketActions(RequiredBucketActionsT&& value) { m_requiredBucketActionsHasBeenSet = true; m_requiredBucketActions.emplace_back(std::forward<RequiredBucketActionsT>(value)); return *this; }
70 private:
71
72 Aws::Vector<Aws::String> m_awsAccountIds;
73 bool m_awsAccountIdsHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_requiredBucketActions;
76 bool m_requiredBucketActionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EntityResolution
81} // namespace Aws
ProviderIntermediateDataAccessConfiguration & AddRequiredBucketActions(RequiredBucketActionsT &&value)
ProviderIntermediateDataAccessConfiguration & WithAwsAccountIds(AwsAccountIdsT &&value)
AWS_ENTITYRESOLUTION_API ProviderIntermediateDataAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
ProviderIntermediateDataAccessConfiguration & WithRequiredBucketActions(RequiredBucketActionsT &&value)
ProviderIntermediateDataAccessConfiguration & AddAwsAccountIds(AwsAccountIdsT &&value)
AWS_ENTITYRESOLUTION_API ProviderIntermediateDataAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue