AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
62 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
65 inline RdsDbClusterSnapshotAttributeValue& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
66 inline RdsDbClusterSnapshotAttributeValue& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
67 inline RdsDbClusterSnapshotAttributeValue& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
69 private:
70
71 Aws::Vector<Aws::String> m_accountIds;
72 bool m_accountIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AccessAnalyzer
77} // namespace Aws
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue(Aws::Utils::Json::JsonView jsonValue)
RdsDbClusterSnapshotAttributeValue & AddAccountIds(Aws::String &&value)
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbClusterSnapshotAttributeValue & AddAccountIds(const char *value)
RdsDbClusterSnapshotAttributeValue & WithAccountIds(const Aws::Vector< Aws::String > &value)
RdsDbClusterSnapshotAttributeValue & WithAccountIds(Aws::Vector< Aws::String > &&value)
RdsDbClusterSnapshotAttributeValue & AddAccountIds(const 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