AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RdsDbSnapshotAttributeValue.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AccessAnalyzer {
21namespace Model {
22
31 public:
32 AWS_ACCESSANALYZER_API RdsDbSnapshotAttributeValue() = default;
35 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
53 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
54 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
55 template <typename AccountIdsT = Aws::Vector<Aws::String>>
56 void SetAccountIds(AccountIdsT&& value) {
57 m_accountIdsHasBeenSet = true;
58 m_accountIds = std::forward<AccountIdsT>(value);
59 }
60 template <typename AccountIdsT = Aws::Vector<Aws::String>>
62 SetAccountIds(std::forward<AccountIdsT>(value));
63 return *this;
64 }
65 template <typename AccountIdsT = Aws::String>
67 m_accountIdsHasBeenSet = true;
68 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
69 return *this;
70 }
72 private:
73 Aws::Vector<Aws::String> m_accountIds;
74 bool m_accountIdsHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace AccessAnalyzer
79} // namespace Aws
AWS_ACCESSANALYZER_API RdsDbSnapshotAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API RdsDbSnapshotAttributeValue(Aws::Utils::Json::JsonView jsonValue)
RdsDbSnapshotAttributeValue & WithAccountIds(AccountIdsT &&value)
RdsDbSnapshotAttributeValue & AddAccountIds(AccountIdsT &&value)
AWS_ACCESSANALYZER_API RdsDbSnapshotAttributeValue()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue