AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuthorizedUrl.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API AuthorizedUrl() = default;
36 AWS_SAGEMAKER_API AuthorizedUrl(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API AuthorizedUrl& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetUrl() const { return m_url; }
47 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
48 template<typename UrlT = Aws::String>
49 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
50 template<typename UrlT = Aws::String>
51 AuthorizedUrl& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
53
55
59 inline const Aws::String& GetLocalPath() const { return m_localPath; }
60 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
61 template<typename LocalPathT = Aws::String>
62 void SetLocalPath(LocalPathT&& value) { m_localPathHasBeenSet = true; m_localPath = std::forward<LocalPathT>(value); }
63 template<typename LocalPathT = Aws::String>
64 AuthorizedUrl& WithLocalPath(LocalPathT&& value) { SetLocalPath(std::forward<LocalPathT>(value)); return *this;}
66 private:
67
68 Aws::String m_url;
69 bool m_urlHasBeenSet = false;
70
71 Aws::String m_localPath;
72 bool m_localPathHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AWS_SAGEMAKER_API AuthorizedUrl & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizedUrl & WithUrl(UrlT &&value)
AuthorizedUrl & WithLocalPath(LocalPathT &&value)
const Aws::String & GetUrl() const
AWS_SAGEMAKER_API AuthorizedUrl(Aws::Utils::Json::JsonView jsonValue)
void SetLocalPath(LocalPathT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AuthorizedUrl()=default
const Aws::String & GetLocalPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue