AWS SDK for C++  1.9.104
AWS SDK for C++
PrivateDnsNamespaceChange.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceDiscovery
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDescription() const{ return m_description; }
46 
50  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
51 
55  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
56 
60  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 
65  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 
70  inline PrivateDnsNamespaceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 
75  inline PrivateDnsNamespaceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 
80  inline PrivateDnsNamespaceChange& WithDescription(const char* value) { SetDescription(value); return *this;}
81 
82 
86  inline const PrivateDnsNamespacePropertiesChange& GetProperties() const{ return m_properties; }
87 
91  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
92 
96  inline void SetProperties(const PrivateDnsNamespacePropertiesChange& value) { m_propertiesHasBeenSet = true; m_properties = value; }
97 
101  inline void SetProperties(PrivateDnsNamespacePropertiesChange&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
102 
106  inline PrivateDnsNamespaceChange& WithProperties(const PrivateDnsNamespacePropertiesChange& value) { SetProperties(value); return *this;}
107 
111  inline PrivateDnsNamespaceChange& WithProperties(PrivateDnsNamespacePropertiesChange&& value) { SetProperties(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_description;
116  bool m_descriptionHasBeenSet;
117 
119  bool m_propertiesHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace ServiceDiscovery
124 } // namespace Aws
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::PrivateDnsNamespaceChange
PrivateDnsNamespaceChange()
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::WithDescription
PrivateDnsNamespaceChange & WithDescription(const char *value)
Definition: PrivateDnsNamespaceChange.h:80
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::SetDescription
void SetDescription(const char *value)
Definition: PrivateDnsNamespaceChange.h:65
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange
Definition: PrivateDnsNamespaceChange.h:34
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::SetDescription
void SetDescription(Aws::String &&value)
Definition: PrivateDnsNamespaceChange.h:60
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PrivateDnsNamespaceChange.h:50
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::GetProperties
const PrivateDnsNamespacePropertiesChange & GetProperties() const
Definition: PrivateDnsNamespaceChange.h:86
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::SetProperties
void SetProperties(PrivateDnsNamespacePropertiesChange &&value)
Definition: PrivateDnsNamespaceChange.h:101
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::WithProperties
PrivateDnsNamespaceChange & WithProperties(PrivateDnsNamespacePropertiesChange &&value)
Definition: PrivateDnsNamespaceChange.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::operator=
PrivateDnsNamespaceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: PrivateDnsNamespaceChange.h:91
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::SetDescription
void SetDescription(const Aws::String &value)
Definition: PrivateDnsNamespaceChange.h:55
Aws::ServiceDiscovery::Model::PrivateDnsNamespacePropertiesChange
Definition: PrivateDnsNamespacePropertiesChange.h:33
PrivateDnsNamespacePropertiesChange.h
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::WithProperties
PrivateDnsNamespaceChange & WithProperties(const PrivateDnsNamespacePropertiesChange &value)
Definition: PrivateDnsNamespaceChange.h:106
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::SetProperties
void SetProperties(const PrivateDnsNamespacePropertiesChange &value)
Definition: PrivateDnsNamespaceChange.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::PrivateDnsNamespaceChange
PrivateDnsNamespaceChange(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::GetDescription
const Aws::String & GetDescription() const
Definition: PrivateDnsNamespaceChange.h:45
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::WithDescription
PrivateDnsNamespaceChange & WithDescription(const Aws::String &value)
Definition: PrivateDnsNamespaceChange.h:70
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceChange::WithDescription
PrivateDnsNamespaceChange & WithDescription(Aws::String &&value)
Definition: PrivateDnsNamespaceChange.h:75