AWS SDK for C++  1.9.104
AWS SDK for C++
HttpNamespaceChange.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetDescription() const{ return m_description; }
44 
48  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 
53  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
54 
58  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 
63  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 
68  inline HttpNamespaceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 
73  inline HttpNamespaceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 
78  inline HttpNamespaceChange& WithDescription(const char* value) { SetDescription(value); return *this;}
79 
80  private:
81 
82  Aws::String m_description;
83  bool m_descriptionHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace ServiceDiscovery
88 } // namespace Aws
Aws::ServiceDiscovery::Model::HttpNamespaceChange::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: HttpNamespaceChange.h:48
Aws::ServiceDiscovery::Model::HttpNamespaceChange::HttpNamespaceChange
HttpNamespaceChange(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::HttpNamespaceChange::HttpNamespaceChange
HttpNamespaceChange()
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::HttpNamespaceChange::operator=
HttpNamespaceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::HttpNamespaceChange::SetDescription
void SetDescription(Aws::String &&value)
Definition: HttpNamespaceChange.h:58
Aws::ServiceDiscovery::Model::HttpNamespaceChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::HttpNamespaceChange::SetDescription
void SetDescription(const Aws::String &value)
Definition: HttpNamespaceChange.h:53
Aws::ServiceDiscovery::Model::HttpNamespaceChange::WithDescription
HttpNamespaceChange & WithDescription(const Aws::String &value)
Definition: HttpNamespaceChange.h:68
Aws::ServiceDiscovery::Model::HttpNamespaceChange::GetDescription
const Aws::String & GetDescription() const
Definition: HttpNamespaceChange.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::HttpNamespaceChange::WithDescription
HttpNamespaceChange & WithDescription(const char *value)
Definition: HttpNamespaceChange.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::HttpNamespaceChange
Definition: HttpNamespaceChange.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::HttpNamespaceChange::SetDescription
void SetDescription(const char *value)
Definition: HttpNamespaceChange.h:63
Aws::ServiceDiscovery::Model::HttpNamespaceChange::WithDescription
HttpNamespaceChange & WithDescription(Aws::String &&value)
Definition: HttpNamespaceChange.h:73