AWS SDK for C++  1.9.104
AWS SDK for C++
HttpProperties.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetHttpName() const{ return m_httpName; }
45 
49  inline bool HttpNameHasBeenSet() const { return m_httpNameHasBeenSet; }
50 
54  inline void SetHttpName(const Aws::String& value) { m_httpNameHasBeenSet = true; m_httpName = value; }
55 
59  inline void SetHttpName(Aws::String&& value) { m_httpNameHasBeenSet = true; m_httpName = std::move(value); }
60 
64  inline void SetHttpName(const char* value) { m_httpNameHasBeenSet = true; m_httpName.assign(value); }
65 
69  inline HttpProperties& WithHttpName(const Aws::String& value) { SetHttpName(value); return *this;}
70 
74  inline HttpProperties& WithHttpName(Aws::String&& value) { SetHttpName(std::move(value)); return *this;}
75 
79  inline HttpProperties& WithHttpName(const char* value) { SetHttpName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_httpName;
84  bool m_httpNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace ServiceDiscovery
89 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::HttpProperties::SetHttpName
void SetHttpName(const Aws::String &value)
Definition: HttpProperties.h:54
Aws::ServiceDiscovery::Model::HttpProperties::GetHttpName
const Aws::String & GetHttpName() const
Definition: HttpProperties.h:44
Aws::ServiceDiscovery::Model::HttpProperties::SetHttpName
void SetHttpName(const char *value)
Definition: HttpProperties.h:64
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::HttpProperties::WithHttpName
HttpProperties & WithHttpName(Aws::String &&value)
Definition: HttpProperties.h:74
Aws::ServiceDiscovery::Model::HttpProperties::WithHttpName
HttpProperties & WithHttpName(const Aws::String &value)
Definition: HttpProperties.h:69
Aws::ServiceDiscovery::Model::HttpProperties::HttpNameHasBeenSet
bool HttpNameHasBeenSet() const
Definition: HttpProperties.h:49
Aws::ServiceDiscovery::Model::HttpProperties::SetHttpName
void SetHttpName(Aws::String &&value)
Definition: HttpProperties.h:59
Aws::ServiceDiscovery::Model::HttpProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::HttpProperties::operator=
HttpProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::HttpProperties::HttpProperties
HttpProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::HttpProperties::WithHttpName
HttpProperties & WithHttpName(const char *value)
Definition: HttpProperties.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::HttpProperties::HttpProperties
HttpProperties()
Aws::ServiceDiscovery::Model::HttpProperties
Definition: HttpProperties.h:33