AWS SDK for C++  1.9.104
AWS SDK for C++
HttpConfiguration.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 MediaTailor
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
44  inline const Aws::String& GetBaseUrl() const{ return m_baseUrl; }
45 
50  inline bool BaseUrlHasBeenSet() const { return m_baseUrlHasBeenSet; }
51 
56  inline void SetBaseUrl(const Aws::String& value) { m_baseUrlHasBeenSet = true; m_baseUrl = value; }
57 
62  inline void SetBaseUrl(Aws::String&& value) { m_baseUrlHasBeenSet = true; m_baseUrl = std::move(value); }
63 
68  inline void SetBaseUrl(const char* value) { m_baseUrlHasBeenSet = true; m_baseUrl.assign(value); }
69 
74  inline HttpConfiguration& WithBaseUrl(const Aws::String& value) { SetBaseUrl(value); return *this;}
75 
80  inline HttpConfiguration& WithBaseUrl(Aws::String&& value) { SetBaseUrl(std::move(value)); return *this;}
81 
86  inline HttpConfiguration& WithBaseUrl(const char* value) { SetBaseUrl(value); return *this;}
87 
88  private:
89 
90  Aws::String m_baseUrl;
91  bool m_baseUrlHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace MediaTailor
96 } // namespace Aws
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::HttpConfiguration::HttpConfiguration
HttpConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::HttpConfiguration::WithBaseUrl
HttpConfiguration & WithBaseUrl(const Aws::String &value)
Definition: HttpConfiguration.h:74
Aws::MediaTailor::Model::HttpConfiguration::BaseUrlHasBeenSet
bool BaseUrlHasBeenSet() const
Definition: HttpConfiguration.h:50
Aws::MediaTailor::Model::HttpConfiguration::WithBaseUrl
HttpConfiguration & WithBaseUrl(Aws::String &&value)
Definition: HttpConfiguration.h:80
Aws::MediaTailor::Model::HttpConfiguration::WithBaseUrl
HttpConfiguration & WithBaseUrl(const char *value)
Definition: HttpConfiguration.h:86
Aws::MediaTailor::Model::HttpConfiguration::SetBaseUrl
void SetBaseUrl(const char *value)
Definition: HttpConfiguration.h:68
Aws::MediaTailor::Model::HttpConfiguration::operator=
HttpConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::HttpConfiguration::SetBaseUrl
void SetBaseUrl(Aws::String &&value)
Definition: HttpConfiguration.h:62
Aws::MediaTailor::Model::HttpConfiguration::HttpConfiguration
HttpConfiguration()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::HttpConfiguration
Definition: HttpConfiguration.h:32
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::HttpConfiguration::GetBaseUrl
const Aws::String & GetBaseUrl() const
Definition: HttpConfiguration.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::HttpConfiguration::SetBaseUrl
void SetBaseUrl(const Aws::String &value)
Definition: HttpConfiguration.h:56
Aws::MediaTailor::Model::HttpConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const