AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Scope.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/auditmanager/model/AWSAccount.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 AuditManager
23{
24namespace Model
25{
26
41 class Scope
42 {
43 public:
44 AWS_AUDITMANAGER_API Scope();
45 AWS_AUDITMANAGER_API Scope(Aws::Utils::Json::JsonView jsonValue);
46 AWS_AUDITMANAGER_API Scope& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::Vector<AWSAccount>& GetAwsAccounts() const{ return m_awsAccounts; }
56 inline bool AwsAccountsHasBeenSet() const { return m_awsAccountsHasBeenSet; }
57 inline void SetAwsAccounts(const Aws::Vector<AWSAccount>& value) { m_awsAccountsHasBeenSet = true; m_awsAccounts = value; }
58 inline void SetAwsAccounts(Aws::Vector<AWSAccount>&& value) { m_awsAccountsHasBeenSet = true; m_awsAccounts = std::move(value); }
59 inline Scope& WithAwsAccounts(const Aws::Vector<AWSAccount>& value) { SetAwsAccounts(value); return *this;}
60 inline Scope& WithAwsAccounts(Aws::Vector<AWSAccount>&& value) { SetAwsAccounts(std::move(value)); return *this;}
61 inline Scope& AddAwsAccounts(const AWSAccount& value) { m_awsAccountsHasBeenSet = true; m_awsAccounts.push_back(value); return *this; }
62 inline Scope& AddAwsAccounts(AWSAccount&& value) { m_awsAccountsHasBeenSet = true; m_awsAccounts.push_back(std::move(value)); return *this; }
64 private:
65
66 Aws::Vector<AWSAccount> m_awsAccounts;
67 bool m_awsAccountsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace AuditManager
72} // namespace Aws
void SetAwsAccounts(Aws::Vector< AWSAccount > &&value)
Definition Scope.h:58
AWS_AUDITMANAGER_API Scope & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AwsAccountsHasBeenSet() const
Definition Scope.h:56
Scope & AddAwsAccounts(const AWSAccount &value)
Definition Scope.h:61
AWS_AUDITMANAGER_API Scope(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AWSAccount > & GetAwsAccounts() const
Definition Scope.h:55
Scope & AddAwsAccounts(AWSAccount &&value)
Definition Scope.h:62
Scope & WithAwsAccounts(Aws::Vector< AWSAccount > &&value)
Definition Scope.h:60
AWS_AUDITMANAGER_API Scope()
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsAccounts(const Aws::Vector< AWSAccount > &value)
Definition Scope.h:57
Scope & WithAwsAccounts(const Aws::Vector< AWSAccount > &value)
Definition Scope.h:59
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue