AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsLoginAttemptAction.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/RemoteIpDetails.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/LoginAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API RdsLoginAttemptAction();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const RemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
46 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
47 inline void SetRemoteIpDetails(const RemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; }
48 inline void SetRemoteIpDetails(RemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); }
49 inline RdsLoginAttemptAction& WithRemoteIpDetails(const RemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;}
50 inline RdsLoginAttemptAction& WithRemoteIpDetails(RemoteIpDetails&& value) { SetRemoteIpDetails(std::move(value)); return *this;}
52
54
57 inline const Aws::Vector<LoginAttribute>& GetLoginAttributes() const{ return m_loginAttributes; }
58 inline bool LoginAttributesHasBeenSet() const { return m_loginAttributesHasBeenSet; }
59 inline void SetLoginAttributes(const Aws::Vector<LoginAttribute>& value) { m_loginAttributesHasBeenSet = true; m_loginAttributes = value; }
60 inline void SetLoginAttributes(Aws::Vector<LoginAttribute>&& value) { m_loginAttributesHasBeenSet = true; m_loginAttributes = std::move(value); }
63 inline RdsLoginAttemptAction& AddLoginAttributes(const LoginAttribute& value) { m_loginAttributesHasBeenSet = true; m_loginAttributes.push_back(value); return *this; }
64 inline RdsLoginAttemptAction& AddLoginAttributes(LoginAttribute&& value) { m_loginAttributesHasBeenSet = true; m_loginAttributes.push_back(std::move(value)); return *this; }
66 private:
67
68 RemoteIpDetails m_remoteIpDetails;
69 bool m_remoteIpDetailsHasBeenSet = false;
70
71 Aws::Vector<LoginAttribute> m_loginAttributes;
72 bool m_loginAttributesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GuardDuty
77} // namespace Aws
void SetLoginAttributes(Aws::Vector< LoginAttribute > &&value)
RdsLoginAttemptAction & WithRemoteIpDetails(RemoteIpDetails &&value)
AWS_GUARDDUTY_API RdsLoginAttemptAction(Aws::Utils::Json::JsonView jsonValue)
RdsLoginAttemptAction & WithRemoteIpDetails(const RemoteIpDetails &value)
void SetLoginAttributes(const Aws::Vector< LoginAttribute > &value)
RdsLoginAttemptAction & WithLoginAttributes(const Aws::Vector< LoginAttribute > &value)
AWS_GUARDDUTY_API RdsLoginAttemptAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteIpDetails(const RemoteIpDetails &value)
RdsLoginAttemptAction & AddLoginAttributes(LoginAttribute &&value)
RdsLoginAttemptAction & AddLoginAttributes(const LoginAttribute &value)
const Aws::Vector< LoginAttribute > & GetLoginAttributes() const
const RemoteIpDetails & GetRemoteIpDetails() const
RdsLoginAttemptAction & WithLoginAttributes(Aws::Vector< LoginAttribute > &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue