AWS SDK for C++  1.9.104
AWS SDK for C++
PublicDnsNamespaceChange.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 PublicDnsNamespaceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 
75  inline PublicDnsNamespaceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 
80  inline PublicDnsNamespaceChange& WithDescription(const char* value) { SetDescription(value); return *this;}
81 
82 
86  inline const PublicDnsNamespacePropertiesChange& GetProperties() const{ return m_properties; }
87 
91  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
92 
96  inline void SetProperties(const PublicDnsNamespacePropertiesChange& value) { m_propertiesHasBeenSet = true; m_properties = value; }
97 
101  inline void SetProperties(PublicDnsNamespacePropertiesChange&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
102 
106  inline PublicDnsNamespaceChange& WithProperties(const PublicDnsNamespacePropertiesChange& value) { SetProperties(value); return *this;}
107 
111  inline PublicDnsNamespaceChange& WithProperties(PublicDnsNamespacePropertiesChange&& 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::PublicDnsNamespaceChange::SetProperties
void SetProperties(const PublicDnsNamespacePropertiesChange &value)
Definition: PublicDnsNamespaceChange.h:96
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::SetDescription
void SetDescription(Aws::String &&value)
Definition: PublicDnsNamespaceChange.h:60
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::PublicDnsNamespaceChange
PublicDnsNamespaceChange()
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::WithDescription
PublicDnsNamespaceChange & WithDescription(const char *value)
Definition: PublicDnsNamespaceChange.h:80
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange
Definition: PublicDnsNamespaceChange.h:34
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::GetProperties
const PublicDnsNamespacePropertiesChange & GetProperties() const
Definition: PublicDnsNamespaceChange.h:86
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PublicDnsNamespaceChange.h:50
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::SetDescription
void SetDescription(const char *value)
Definition: PublicDnsNamespaceChange.h:65
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::WithProperties
PublicDnsNamespaceChange & WithProperties(const PublicDnsNamespacePropertiesChange &value)
Definition: PublicDnsNamespaceChange.h:106
PublicDnsNamespacePropertiesChange.h
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::operator=
PublicDnsNamespaceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::WithDescription
PublicDnsNamespaceChange & WithDescription(const Aws::String &value)
Definition: PublicDnsNamespaceChange.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::WithDescription
PublicDnsNamespaceChange & WithDescription(Aws::String &&value)
Definition: PublicDnsNamespaceChange.h:75
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::SetProperties
void SetProperties(PublicDnsNamespacePropertiesChange &&value)
Definition: PublicDnsNamespaceChange.h:101
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::GetDescription
const Aws::String & GetDescription() const
Definition: PublicDnsNamespaceChange.h:45
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: PublicDnsNamespaceChange.h:91
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::WithProperties
PublicDnsNamespaceChange & WithProperties(PublicDnsNamespacePropertiesChange &&value)
Definition: PublicDnsNamespaceChange.h:111
Aws::ServiceDiscovery::Model::PublicDnsNamespacePropertiesChange
Definition: PublicDnsNamespacePropertiesChange.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::PublicDnsNamespaceChange
PublicDnsNamespaceChange(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PublicDnsNamespaceChange::SetDescription
void SetDescription(const Aws::String &value)
Definition: PublicDnsNamespaceChange.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97