AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
InvestigationActor.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
29 public:
30 AWS_GUARDDUTY_API InvestigationActor() = default;
31 AWS_GUARDDUTY_API InvestigationActor(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAccessKeyId() const { return m_accessKeyId; }
40 inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; }
41 template <typename AccessKeyIdT = Aws::String>
42 void SetAccessKeyId(AccessKeyIdT&& value) {
43 m_accessKeyIdHasBeenSet = true;
44 m_accessKeyId = std::forward<AccessKeyIdT>(value);
45 }
46 template <typename AccessKeyIdT = Aws::String>
47 InvestigationActor& WithAccessKeyId(AccessKeyIdT&& value) {
48 SetAccessKeyId(std::forward<AccessKeyIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
58 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
59 template <typename PrincipalIdT = Aws::String>
60 void SetPrincipalId(PrincipalIdT&& value) {
61 m_principalIdHasBeenSet = true;
62 m_principalId = std::forward<PrincipalIdT>(value);
63 }
64 template <typename PrincipalIdT = Aws::String>
65 InvestigationActor& WithPrincipalId(PrincipalIdT&& value) {
66 SetPrincipalId(std::forward<PrincipalIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetUserName() const { return m_userName; }
76 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
77 template <typename UserNameT = Aws::String>
78 void SetUserName(UserNameT&& value) {
79 m_userNameHasBeenSet = true;
80 m_userName = std::forward<UserNameT>(value);
81 }
82 template <typename UserNameT = Aws::String>
83 InvestigationActor& WithUserName(UserNameT&& value) {
84 SetUserName(std::forward<UserNameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetUserType() const { return m_userType; }
95 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
96 template <typename UserTypeT = Aws::String>
97 void SetUserType(UserTypeT&& value) {
98 m_userTypeHasBeenSet = true;
99 m_userType = std::forward<UserTypeT>(value);
100 }
101 template <typename UserTypeT = Aws::String>
102 InvestigationActor& WithUserType(UserTypeT&& value) {
103 SetUserType(std::forward<UserTypeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetUserAgent() const { return m_userAgent; }
113 inline bool UserAgentHasBeenSet() const { return m_userAgentHasBeenSet; }
114 template <typename UserAgentT = Aws::String>
115 void SetUserAgent(UserAgentT&& value) {
116 m_userAgentHasBeenSet = true;
117 m_userAgent = std::forward<UserAgentT>(value);
118 }
119 template <typename UserAgentT = Aws::String>
120 InvestigationActor& WithUserAgent(UserAgentT&& value) {
121 SetUserAgent(std::forward<UserAgentT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_accessKeyId;
127
128 Aws::String m_principalId;
129
130 Aws::String m_userName;
131
132 Aws::String m_userType;
133
134 Aws::String m_userAgent;
135 bool m_accessKeyIdHasBeenSet = false;
136 bool m_principalIdHasBeenSet = false;
137 bool m_userNameHasBeenSet = false;
138 bool m_userTypeHasBeenSet = false;
139 bool m_userAgentHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace GuardDuty
144} // namespace Aws
AWS_GUARDDUTY_API InvestigationActor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API InvestigationActor(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API InvestigationActor()=default
InvestigationActor & WithPrincipalId(PrincipalIdT &&value)
InvestigationActor & WithUserType(UserTypeT &&value)
InvestigationActor & WithUserName(UserNameT &&value)
InvestigationActor & WithAccessKeyId(AccessKeyIdT &&value)
InvestigationActor & WithUserAgent(UserAgentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue