AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Administrator.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/Detective_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Detective {
21namespace Model {
22
30 public:
31 AWS_DETECTIVE_API Administrator() = default;
32 AWS_DETECTIVE_API Administrator(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DETECTIVE_API Administrator& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetAccountId() const { return m_accountId; }
42 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
43 template <typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) {
45 m_accountIdHasBeenSet = true;
46 m_accountId = std::forward<AccountIdT>(value);
47 }
48 template <typename AccountIdT = Aws::String>
49 Administrator& WithAccountId(AccountIdT&& value) {
50 SetAccountId(std::forward<AccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
60 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
61 template <typename GraphArnT = Aws::String>
62 void SetGraphArn(GraphArnT&& value) {
63 m_graphArnHasBeenSet = true;
64 m_graphArn = std::forward<GraphArnT>(value);
65 }
66 template <typename GraphArnT = Aws::String>
67 Administrator& WithGraphArn(GraphArnT&& value) {
68 SetGraphArn(std::forward<GraphArnT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::Utils::DateTime& GetDelegationTime() const { return m_delegationTime; }
80 inline bool DelegationTimeHasBeenSet() const { return m_delegationTimeHasBeenSet; }
81 template <typename DelegationTimeT = Aws::Utils::DateTime>
82 void SetDelegationTime(DelegationTimeT&& value) {
83 m_delegationTimeHasBeenSet = true;
84 m_delegationTime = std::forward<DelegationTimeT>(value);
85 }
86 template <typename DelegationTimeT = Aws::Utils::DateTime>
87 Administrator& WithDelegationTime(DelegationTimeT&& value) {
88 SetDelegationTime(std::forward<DelegationTimeT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_accountId;
94
95 Aws::String m_graphArn;
96
97 Aws::Utils::DateTime m_delegationTime{};
98 bool m_accountIdHasBeenSet = false;
99 bool m_graphArnHasBeenSet = false;
100 bool m_delegationTimeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Detective
105} // namespace Aws
Administrator & WithGraphArn(GraphArnT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetGraphArn() const
void SetDelegationTime(DelegationTimeT &&value)
const Aws::Utils::DateTime & GetDelegationTime() const
Administrator & WithAccountId(AccountIdT &&value)
AWS_DETECTIVE_API Administrator()=default
AWS_DETECTIVE_API Administrator & operator=(Aws::Utils::Json::JsonView jsonValue)
Administrator & WithDelegationTime(DelegationTimeT &&value)
AWS_DETECTIVE_API Administrator(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGraphArn(GraphArnT &&value)
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue