AWS SDK for C++  1.9.108
AWS SDK for C++
AwsApiCallAction.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GuardDuty
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetApi() const{ return m_api; }
46 
50  inline bool ApiHasBeenSet() const { return m_apiHasBeenSet; }
51 
55  inline void SetApi(const Aws::String& value) { m_apiHasBeenSet = true; m_api = value; }
56 
60  inline void SetApi(Aws::String&& value) { m_apiHasBeenSet = true; m_api = std::move(value); }
61 
65  inline void SetApi(const char* value) { m_apiHasBeenSet = true; m_api.assign(value); }
66 
70  inline AwsApiCallAction& WithApi(const Aws::String& value) { SetApi(value); return *this;}
71 
75  inline AwsApiCallAction& WithApi(Aws::String&& value) { SetApi(std::move(value)); return *this;}
76 
80  inline AwsApiCallAction& WithApi(const char* value) { SetApi(value); return *this;}
81 
82 
86  inline const Aws::String& GetCallerType() const{ return m_callerType; }
87 
91  inline bool CallerTypeHasBeenSet() const { return m_callerTypeHasBeenSet; }
92 
96  inline void SetCallerType(const Aws::String& value) { m_callerTypeHasBeenSet = true; m_callerType = value; }
97 
101  inline void SetCallerType(Aws::String&& value) { m_callerTypeHasBeenSet = true; m_callerType = std::move(value); }
102 
106  inline void SetCallerType(const char* value) { m_callerTypeHasBeenSet = true; m_callerType.assign(value); }
107 
111  inline AwsApiCallAction& WithCallerType(const Aws::String& value) { SetCallerType(value); return *this;}
112 
116  inline AwsApiCallAction& WithCallerType(Aws::String&& value) { SetCallerType(std::move(value)); return *this;}
117 
121  inline AwsApiCallAction& WithCallerType(const char* value) { SetCallerType(value); return *this;}
122 
123 
127  inline const DomainDetails& GetDomainDetails() const{ return m_domainDetails; }
128 
132  inline bool DomainDetailsHasBeenSet() const { return m_domainDetailsHasBeenSet; }
133 
137  inline void SetDomainDetails(const DomainDetails& value) { m_domainDetailsHasBeenSet = true; m_domainDetails = value; }
138 
142  inline void SetDomainDetails(DomainDetails&& value) { m_domainDetailsHasBeenSet = true; m_domainDetails = std::move(value); }
143 
147  inline AwsApiCallAction& WithDomainDetails(const DomainDetails& value) { SetDomainDetails(value); return *this;}
148 
152  inline AwsApiCallAction& WithDomainDetails(DomainDetails&& value) { SetDomainDetails(std::move(value)); return *this;}
153 
154 
158  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
159 
163  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
164 
168  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
169 
173  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
174 
178  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
179 
183  inline AwsApiCallAction& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
184 
188  inline AwsApiCallAction& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
189 
193  inline AwsApiCallAction& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
194 
195 
200  inline const RemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
201 
206  inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
207 
212  inline void SetRemoteIpDetails(const RemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; }
213 
218  inline void SetRemoteIpDetails(RemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); }
219 
224  inline AwsApiCallAction& WithRemoteIpDetails(const RemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;}
225 
230  inline AwsApiCallAction& WithRemoteIpDetails(RemoteIpDetails&& value) { SetRemoteIpDetails(std::move(value)); return *this;}
231 
232 
236  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
237 
241  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
242 
246  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
247 
251  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
252 
256  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
257 
261  inline AwsApiCallAction& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
262 
266  inline AwsApiCallAction& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
267 
271  inline AwsApiCallAction& WithServiceName(const char* value) { SetServiceName(value); return *this;}
272 
273  private:
274 
275  Aws::String m_api;
276  bool m_apiHasBeenSet;
277 
278  Aws::String m_callerType;
279  bool m_callerTypeHasBeenSet;
280 
281  DomainDetails m_domainDetails;
282  bool m_domainDetailsHasBeenSet;
283 
284  Aws::String m_errorCode;
285  bool m_errorCodeHasBeenSet;
286 
287  RemoteIpDetails m_remoteIpDetails;
288  bool m_remoteIpDetailsHasBeenSet;
289 
290  Aws::String m_serviceName;
291  bool m_serviceNameHasBeenSet;
292  };
293 
294 } // namespace Model
295 } // namespace GuardDuty
296 } // namespace Aws
Aws::GuardDuty::Model::AwsApiCallAction::WithDomainDetails
AwsApiCallAction & WithDomainDetails(DomainDetails &&value)
Definition: AwsApiCallAction.h:152
Aws::GuardDuty::Model::AwsApiCallAction::operator=
AwsApiCallAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainDetails.h
Aws::GuardDuty::Model::AwsApiCallAction::SetApi
void SetApi(const char *value)
Definition: AwsApiCallAction.h:65
Aws::GuardDuty::Model::AwsApiCallAction::WithCallerType
AwsApiCallAction & WithCallerType(const Aws::String &value)
Definition: AwsApiCallAction.h:111
Aws::GuardDuty::Model::AwsApiCallAction::WithApi
AwsApiCallAction & WithApi(const Aws::String &value)
Definition: AwsApiCallAction.h:70
Aws::GuardDuty::Model::AwsApiCallAction::WithErrorCode
AwsApiCallAction & WithErrorCode(const Aws::String &value)
Definition: AwsApiCallAction.h:183
Aws::GuardDuty::Model::AwsApiCallAction::GetServiceName
const Aws::String & GetServiceName() const
Definition: AwsApiCallAction.h:236
Aws::GuardDuty::Model::AwsApiCallAction::GetDomainDetails
const DomainDetails & GetDomainDetails() const
Definition: AwsApiCallAction.h:127
Aws::GuardDuty::Model::AwsApiCallAction::SetCallerType
void SetCallerType(Aws::String &&value)
Definition: AwsApiCallAction.h:101
Aws::GuardDuty::Model::AwsApiCallAction::WithCallerType
AwsApiCallAction & WithCallerType(const char *value)
Definition: AwsApiCallAction.h:121
Aws::GuardDuty::Model::AwsApiCallAction::SetServiceName
void SetServiceName(const char *value)
Definition: AwsApiCallAction.h:256
Aws::GuardDuty::Model::AwsApiCallAction::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: AwsApiCallAction.h:241
Aws::GuardDuty::Model::AwsApiCallAction::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: AwsApiCallAction.h:168
Aws::GuardDuty::Model::DomainDetails
Definition: DomainDetails.h:32
Aws::GuardDuty::Model::AwsApiCallAction::SetApi
void SetApi(const Aws::String &value)
Definition: AwsApiCallAction.h:55
Aws::GuardDuty::Model::AwsApiCallAction::WithRemoteIpDetails
AwsApiCallAction & WithRemoteIpDetails(const RemoteIpDetails &value)
Definition: AwsApiCallAction.h:224
Aws::GuardDuty::Model::AwsApiCallAction::WithApi
AwsApiCallAction & WithApi(Aws::String &&value)
Definition: AwsApiCallAction.h:75
Aws::GuardDuty::Model::AwsApiCallAction::SetCallerType
void SetCallerType(const Aws::String &value)
Definition: AwsApiCallAction.h:96
Aws::GuardDuty::Model::AwsApiCallAction::AwsApiCallAction
AwsApiCallAction(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::AwsApiCallAction::WithServiceName
AwsApiCallAction & WithServiceName(Aws::String &&value)
Definition: AwsApiCallAction.h:266
Aws::GuardDuty::Model::AwsApiCallAction::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: AwsApiCallAction.h:246
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::AwsApiCallAction::WithApi
AwsApiCallAction & WithApi(const char *value)
Definition: AwsApiCallAction.h:80
Aws::GuardDuty::Model::AwsApiCallAction::DomainDetailsHasBeenSet
bool DomainDetailsHasBeenSet() const
Definition: AwsApiCallAction.h:132
Aws::GuardDuty::Model::AwsApiCallAction::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: AwsApiCallAction.h:158
Aws::GuardDuty::Model::AwsApiCallAction::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: AwsApiCallAction.h:163
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::AwsApiCallAction::AwsApiCallAction
AwsApiCallAction()
RemoteIpDetails.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GuardDuty::Model::AwsApiCallAction::ApiHasBeenSet
bool ApiHasBeenSet() const
Definition: AwsApiCallAction.h:50
Aws::GuardDuty::Model::AwsApiCallAction::WithServiceName
AwsApiCallAction & WithServiceName(const char *value)
Definition: AwsApiCallAction.h:271
AWSString.h
Aws::GuardDuty::Model::AwsApiCallAction::SetErrorCode
void SetErrorCode(const char *value)
Definition: AwsApiCallAction.h:178
Aws::GuardDuty::Model::AwsApiCallAction::GetCallerType
const Aws::String & GetCallerType() const
Definition: AwsApiCallAction.h:86
Aws::GuardDuty::Model::AwsApiCallAction::SetApi
void SetApi(Aws::String &&value)
Definition: AwsApiCallAction.h:60
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::AwsApiCallAction::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: AwsApiCallAction.h:173
Aws::GuardDuty::Model::AwsApiCallAction::WithServiceName
AwsApiCallAction & WithServiceName(const Aws::String &value)
Definition: AwsApiCallAction.h:261
Aws::GuardDuty::Model::AwsApiCallAction::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: AwsApiCallAction.h:251
Aws::GuardDuty::Model::AwsApiCallAction::WithDomainDetails
AwsApiCallAction & WithDomainDetails(const DomainDetails &value)
Definition: AwsApiCallAction.h:147
Aws::GuardDuty::Model::AwsApiCallAction::RemoteIpDetailsHasBeenSet
bool RemoteIpDetailsHasBeenSet() const
Definition: AwsApiCallAction.h:206
Aws::GuardDuty::Model::AwsApiCallAction::WithRemoteIpDetails
AwsApiCallAction & WithRemoteIpDetails(RemoteIpDetails &&value)
Definition: AwsApiCallAction.h:230
Aws::GuardDuty::Model::AwsApiCallAction::CallerTypeHasBeenSet
bool CallerTypeHasBeenSet() const
Definition: AwsApiCallAction.h:91
Aws::GuardDuty::Model::AwsApiCallAction::SetRemoteIpDetails
void SetRemoteIpDetails(const RemoteIpDetails &value)
Definition: AwsApiCallAction.h:212
Aws::GuardDuty::Model::RemoteIpDetails
Definition: RemoteIpDetails.h:37
Aws::GuardDuty::Model::AwsApiCallAction::SetDomainDetails
void SetDomainDetails(DomainDetails &&value)
Definition: AwsApiCallAction.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::AwsApiCallAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::AwsApiCallAction::SetRemoteIpDetails
void SetRemoteIpDetails(RemoteIpDetails &&value)
Definition: AwsApiCallAction.h:218
Aws::GuardDuty::Model::AwsApiCallAction::WithErrorCode
AwsApiCallAction & WithErrorCode(const char *value)
Definition: AwsApiCallAction.h:193
Aws::GuardDuty::Model::AwsApiCallAction::GetApi
const Aws::String & GetApi() const
Definition: AwsApiCallAction.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::AwsApiCallAction::SetDomainDetails
void SetDomainDetails(const DomainDetails &value)
Definition: AwsApiCallAction.h:137
Aws::GuardDuty::Model::AwsApiCallAction::GetRemoteIpDetails
const RemoteIpDetails & GetRemoteIpDetails() const
Definition: AwsApiCallAction.h:200
Aws::GuardDuty::Model::AwsApiCallAction::WithErrorCode
AwsApiCallAction & WithErrorCode(Aws::String &&value)
Definition: AwsApiCallAction.h:188
Aws::GuardDuty::Model::AwsApiCallAction::SetCallerType
void SetCallerType(const char *value)
Definition: AwsApiCallAction.h:106
Aws::GuardDuty::Model::AwsApiCallAction
Definition: AwsApiCallAction.h:34
Aws::GuardDuty::Model::AwsApiCallAction::WithCallerType
AwsApiCallAction & WithCallerType(Aws::String &&value)
Definition: AwsApiCallAction.h:116