AWS SDK for C++  1.9.160
AWS SDK for C++
HttpEndpointDescription.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 Firehose
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUrl() const{ return m_url; }
45 
49  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
50 
54  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
55 
59  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
60 
64  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
65 
69  inline HttpEndpointDescription& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
70 
74  inline HttpEndpointDescription& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
75 
79  inline HttpEndpointDescription& WithUrl(const char* value) { SetUrl(value); return *this;}
80 
81 
85  inline const Aws::String& GetName() const{ return m_name; }
86 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
95  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 
100  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101 
105  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 
110  inline HttpEndpointDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
111 
115  inline HttpEndpointDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 
120  inline HttpEndpointDescription& WithName(const char* value) { SetName(value); return *this;}
121 
122  private:
123 
124  Aws::String m_url;
125  bool m_urlHasBeenSet;
126 
127  Aws::String m_name;
128  bool m_nameHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Firehose
133 } // namespace Aws
Aws::Firehose::Model::HttpEndpointDescription::SetName
void SetName(const Aws::String &value)
Definition: HttpEndpointDescription.h:95
Aws::Firehose::Model::HttpEndpointDescription::GetUrl
const Aws::String & GetUrl() const
Definition: HttpEndpointDescription.h:44
Aws::Firehose::Model::HttpEndpointDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::HttpEndpointDescription
Definition: HttpEndpointDescription.h:33
Aws::Firehose::Model::HttpEndpointDescription::WithName
HttpEndpointDescription & WithName(const char *value)
Definition: HttpEndpointDescription.h:120
Aws::Firehose::Model::HttpEndpointDescription::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HttpEndpointDescription.h:90
Aws::Firehose::Model::HttpEndpointDescription::SetUrl
void SetUrl(Aws::String &&value)
Definition: HttpEndpointDescription.h:59
Aws::Firehose::Model::HttpEndpointDescription::SetName
void SetName(const char *value)
Definition: HttpEndpointDescription.h:105
Aws::Firehose::Model::HttpEndpointDescription::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: HttpEndpointDescription.h:49
Aws::Firehose::Model::HttpEndpointDescription::WithName
HttpEndpointDescription & WithName(Aws::String &&value)
Definition: HttpEndpointDescription.h:115
Aws::Firehose::Model::HttpEndpointDescription::HttpEndpointDescription
HttpEndpointDescription()
Aws::Firehose::Model::HttpEndpointDescription::WithUrl
HttpEndpointDescription & WithUrl(const char *value)
Definition: HttpEndpointDescription.h:79
Aws::Firehose::Model::HttpEndpointDescription::HttpEndpointDescription
HttpEndpointDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::HttpEndpointDescription::WithUrl
HttpEndpointDescription & WithUrl(const Aws::String &value)
Definition: HttpEndpointDescription.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::HttpEndpointDescription::WithUrl
HttpEndpointDescription & WithUrl(Aws::String &&value)
Definition: HttpEndpointDescription.h:74
Firehose_EXPORTS.h
Aws::Firehose::Model::HttpEndpointDescription::SetUrl
void SetUrl(const char *value)
Definition: HttpEndpointDescription.h:64
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::HttpEndpointDescription::GetName
const Aws::String & GetName() const
Definition: HttpEndpointDescription.h:85
Aws::Firehose::Model::HttpEndpointDescription::SetName
void SetName(Aws::String &&value)
Definition: HttpEndpointDescription.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::HttpEndpointDescription::operator=
HttpEndpointDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::HttpEndpointDescription::WithName
HttpEndpointDescription & WithName(const Aws::String &value)
Definition: HttpEndpointDescription.h:110
Aws::Firehose::Model::HttpEndpointDescription::SetUrl
void SetUrl(const Aws::String &value)
Definition: HttpEndpointDescription.h:54