AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RdsDbClusterSnapshotAttributeValue.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_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 AccessAnalyzer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue() = default;
39 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
59 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
60 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
61 template<typename AccountIdsT = Aws::Vector<Aws::String>>
62 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::forward<AccountIdsT>(value); }
63 template<typename AccountIdsT = Aws::Vector<Aws::String>>
64 RdsDbClusterSnapshotAttributeValue& WithAccountIds(AccountIdsT&& value) { SetAccountIds(std::forward<AccountIdsT>(value)); return *this;}
65 template<typename AccountIdsT = Aws::String>
66 RdsDbClusterSnapshotAttributeValue& AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value)); return *this; }
68 private:
69
70 Aws::Vector<Aws::String> m_accountIds;
71 bool m_accountIdsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AccessAnalyzer
76} // namespace Aws
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue(Aws::Utils::Json::JsonView jsonValue)
RdsDbClusterSnapshotAttributeValue & AddAccountIds(AccountIdsT &&value)
RdsDbClusterSnapshotAttributeValue & WithAccountIds(AccountIdsT &&value)
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue()=default
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue