AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Administrator.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Detective
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DETECTIVE_API Administrator();
37 AWS_DETECTIVE_API Administrator(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Administrator& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DETECTIVE_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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline Administrator& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline Administrator& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline Administrator& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetGraphArn() const{ return m_graphArn; }
62 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
63 inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
64 inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
65 inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
66 inline Administrator& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
67 inline Administrator& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
68 inline Administrator& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetDelegationTime() const{ return m_delegationTime; }
78 inline bool DelegationTimeHasBeenSet() const { return m_delegationTimeHasBeenSet; }
79 inline void SetDelegationTime(const Aws::Utils::DateTime& value) { m_delegationTimeHasBeenSet = true; m_delegationTime = value; }
80 inline void SetDelegationTime(Aws::Utils::DateTime&& value) { m_delegationTimeHasBeenSet = true; m_delegationTime = std::move(value); }
81 inline Administrator& WithDelegationTime(const Aws::Utils::DateTime& value) { SetDelegationTime(value); return *this;}
82 inline Administrator& WithDelegationTime(Aws::Utils::DateTime&& value) { SetDelegationTime(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_accountId;
87 bool m_accountIdHasBeenSet = false;
88
89 Aws::String m_graphArn;
90 bool m_graphArnHasBeenSet = false;
91
92 Aws::Utils::DateTime m_delegationTime;
93 bool m_delegationTimeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Detective
98} // namespace Aws
Administrator & WithAccountId(const char *value)
Administrator & WithDelegationTime(const Aws::Utils::DateTime &value)
void SetGraphArn(const char *value)
void SetGraphArn(Aws::String &&value)
Administrator & WithGraphArn(const char *value)
void SetDelegationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetGraphArn() const
const Aws::Utils::DateTime & GetDelegationTime() const
Administrator & WithAccountId(Aws::String &&value)
void SetAccountId(Aws::String &&value)
Administrator & WithGraphArn(Aws::String &&value)
AWS_DETECTIVE_API Administrator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const char *value)
Administrator & WithAccountId(const Aws::String &value)
Administrator & WithGraphArn(const Aws::String &value)
Administrator & WithDelegationTime(Aws::Utils::DateTime &&value)
AWS_DETECTIVE_API Administrator(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDelegationTime(Aws::Utils::DateTime &&value)
void SetAccountId(const Aws::String &value)
void SetGraphArn(const Aws::String &value)
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue