AWS SDK for C++  1.9.104
AWS SDK for C++
SOAChange.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:
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 SOAChange& 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::Model::SOAChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::SOAChange
Definition: SOAChange.h:31
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::SOAChange::SetTTL
void SetTTL(long long value)
Definition: SOAChange.h:52
Aws::ServiceDiscovery::Model::SOAChange::TTLHasBeenSet
bool TTLHasBeenSet() const
Definition: SOAChange.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::SOAChange::GetTTL
long long GetTTL() const
Definition: SOAChange.h:42
Aws::ServiceDiscovery::Model::SOAChange::SOAChange
SOAChange()
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::SOAChange::WithTTL
SOAChange & WithTTL(long long value)
Definition: SOAChange.h:57
Aws::ServiceDiscovery::Model::SOAChange::operator=
SOAChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::SOAChange::SOAChange
SOAChange(Aws::Utils::Json::JsonView jsonValue)