AWS SDK for C++  1.9.105
AWS SDK for C++
SOA.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace ServiceDiscovery
20 {
21 namespace Model
22 {
23 
31  {
32  public:
33  SOA();
37 
38 
42  inline long long GetTTL() const{ return m_tTL; }
43 
47  inline bool TTLHasBeenSet() const { return m_tTLHasBeenSet; }
48 
52  inline void SetTTL(long long value) { m_tTLHasBeenSet = true; m_tTL = value; }
53 
57  inline SOA& WithTTL(long long value) { SetTTL(value); return *this;}
58 
59  private:
60 
61  long long m_tTL;
62  bool m_tTLHasBeenSet;
63  };
64 
65 } // namespace Model
66 } // namespace ServiceDiscovery
67 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::SOA::SOA
SOA()
Aws::ServiceDiscovery::Model::SOA::GetTTL
long long GetTTL() const
Definition: SOA.h:42
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::SOA
Definition: SOA.h:31
Aws::ServiceDiscovery::Model::SOA::TTLHasBeenSet
bool TTLHasBeenSet() const
Definition: SOA.h:47
Aws::ServiceDiscovery::Model::SOA::operator=
SOA & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::SOA::SetTTL
void SetTTL(long long value)
Definition: SOA.h:52
Aws::ServiceDiscovery::Model::SOA::WithTTL
SOA & WithTTL(long long value)
Definition: SOA.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::SOA::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::SOA::SOA
SOA(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15