AWS SDK for C++  1.8.126
AWS SDK for C++
DomainDetails.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetDomain() const{ return m_domain; }
44 
48  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
49 
53  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
54 
58  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
59 
63  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
64 
68  inline DomainDetails& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
69 
73  inline DomainDetails& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
74 
78  inline DomainDetails& WithDomain(const char* value) { SetDomain(value); return *this;}
79 
80  private:
81 
82  Aws::String m_domain;
83  bool m_domainHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace GuardDuty
88 } // namespace Aws
Aws::GuardDuty::Model::DomainDetails::SetDomain
void SetDomain(const char *value)
Definition: DomainDetails.h:63
Aws::GuardDuty::Model::DomainDetails::operator=
DomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DomainDetails::DomainDetails
DomainDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::DomainDetails::WithDomain
DomainDetails & WithDomain(Aws::String &&value)
Definition: DomainDetails.h:73
Aws::GuardDuty::Model::DomainDetails::GetDomain
const Aws::String & GetDomain() const
Definition: DomainDetails.h:43
Aws::GuardDuty::Model::DomainDetails::WithDomain
DomainDetails & WithDomain(const char *value)
Definition: DomainDetails.h:78
Aws::GuardDuty::Model::DomainDetails
Definition: DomainDetails.h:32
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DomainDetails::WithDomain
DomainDetails & WithDomain(const Aws::String &value)
Definition: DomainDetails.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::DomainDetails::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: DomainDetails.h:48
Aws::GuardDuty::Model::DomainDetails::SetDomain
void SetDomain(const Aws::String &value)
Definition: DomainDetails.h:53
Aws::GuardDuty::Model::DomainDetails::DomainDetails
DomainDetails()
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DomainDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::DomainDetails::SetDomain
void SetDomain(Aws::String &&value)
Definition: DomainDetails.h:58