AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DelegatedAdmin.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/RelationshipStatus.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 Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API DelegatedAdmin() = default;
37 AWS_INSPECTOR2_API DelegatedAdmin(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API DelegatedAdmin& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAccountId() const { return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 template<typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
51 template<typename AccountIdT = Aws::String>
52 DelegatedAdmin& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
54
56
59 inline RelationshipStatus GetRelationshipStatus() const { return m_relationshipStatus; }
60 inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; }
61 inline void SetRelationshipStatus(RelationshipStatus value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
64 private:
65
66 Aws::String m_accountId;
67 bool m_accountIdHasBeenSet = false;
68
70 bool m_relationshipStatusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
void SetAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API DelegatedAdmin & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
AWS_INSPECTOR2_API DelegatedAdmin(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API DelegatedAdmin()=default
DelegatedAdmin & WithRelationshipStatus(RelationshipStatus value)
void SetRelationshipStatus(RelationshipStatus value)
RelationshipStatus GetRelationshipStatus() const
DelegatedAdmin & WithAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue