AWS SDK for C++  1.9.20
AWS SDK for C++
DnsRequestAction.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDomain() const{ return m_domain; }
45 
49  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
50 
54  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
55 
59  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
60 
64  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
65 
69  inline DnsRequestAction& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
70 
74  inline DnsRequestAction& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
75 
79  inline DnsRequestAction& WithDomain(const char* value) { SetDomain(value); return *this;}
80 
81  private:
82 
83  Aws::String m_domain;
84  bool m_domainHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace GuardDuty
89 } // namespace Aws
Aws::GuardDuty::Model::DnsRequestAction::WithDomain
DnsRequestAction & WithDomain(const Aws::String &value)
Definition: DnsRequestAction.h:69
Aws::GuardDuty::Model::DnsRequestAction::operator=
DnsRequestAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DnsRequestAction::SetDomain
void SetDomain(const Aws::String &value)
Definition: DnsRequestAction.h:54
Aws::GuardDuty::Model::DnsRequestAction::SetDomain
void SetDomain(Aws::String &&value)
Definition: DnsRequestAction.h:59
Aws::GuardDuty::Model::DnsRequestAction
Definition: DnsRequestAction.h:33
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DnsRequestAction::DnsRequestAction
DnsRequestAction()
Aws::GuardDuty::Model::DnsRequestAction::DnsRequestAction
DnsRequestAction(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DnsRequestAction::WithDomain
DnsRequestAction & WithDomain(const char *value)
Definition: DnsRequestAction.h:79
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DnsRequestAction::SetDomain
void SetDomain(const char *value)
Definition: DnsRequestAction.h:64
Aws::GuardDuty::Model::DnsRequestAction::WithDomain
DnsRequestAction & WithDomain(Aws::String &&value)
Definition: DnsRequestAction.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::DnsRequestAction::GetDomain
const Aws::String & GetDomain() const
Definition: DnsRequestAction.h:44
Aws::GuardDuty::Model::DnsRequestAction::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: DnsRequestAction.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::DnsRequestAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const