AWS SDK for C++  1.9.104
AWS SDK for C++
PublicDnsPropertiesMutableChange.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 ServiceDiscovery
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const SOAChange& GetSOA() const{ return m_sOA; }
46 
51  inline bool SOAHasBeenSet() const { return m_sOAHasBeenSet; }
52 
57  inline void SetSOA(const SOAChange& value) { m_sOAHasBeenSet = true; m_sOA = value; }
58 
63  inline void SetSOA(SOAChange&& value) { m_sOAHasBeenSet = true; m_sOA = std::move(value); }
64 
69  inline PublicDnsPropertiesMutableChange& WithSOA(const SOAChange& value) { SetSOA(value); return *this;}
70 
75  inline PublicDnsPropertiesMutableChange& WithSOA(SOAChange&& value) { SetSOA(std::move(value)); return *this;}
76 
77  private:
78 
79  SOAChange m_sOA;
80  bool m_sOAHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace ServiceDiscovery
85 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::SOAHasBeenSet
bool SOAHasBeenSet() const
Definition: PublicDnsPropertiesMutableChange.h:51
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::SetSOA
void SetSOA(const SOAChange &value)
Definition: PublicDnsPropertiesMutableChange.h:57
Aws::ServiceDiscovery::Model::SOAChange
Definition: SOAChange.h:31
ServiceDiscovery_EXPORTS.h
SOAChange.h
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::operator=
PublicDnsPropertiesMutableChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::PublicDnsPropertiesMutableChange
PublicDnsPropertiesMutableChange()
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange
Definition: PublicDnsPropertiesMutableChange.h:33
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::SetSOA
void SetSOA(SOAChange &&value)
Definition: PublicDnsPropertiesMutableChange.h:63
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::GetSOA
const SOAChange & GetSOA() const
Definition: PublicDnsPropertiesMutableChange.h:45
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::WithSOA
PublicDnsPropertiesMutableChange & WithSOA(SOAChange &&value)
Definition: PublicDnsPropertiesMutableChange.h:75
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::WithSOA
PublicDnsPropertiesMutableChange & WithSOA(const SOAChange &value)
Definition: PublicDnsPropertiesMutableChange.h:69
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutableChange::PublicDnsPropertiesMutableChange
PublicDnsPropertiesMutableChange(Aws::Utils::Json::JsonView jsonValue)