AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AuthorizedUrl.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AuthorizedUrl() = default;
31 AWS_SAGEMAKER_API AuthorizedUrl(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKER_API AuthorizedUrl& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetUrl() const { return m_url; }
41 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
42 template <typename UrlT = Aws::String>
43 void SetUrl(UrlT&& value) {
44 m_urlHasBeenSet = true;
45 m_url = std::forward<UrlT>(value);
46 }
47 template <typename UrlT = Aws::String>
48 AuthorizedUrl& WithUrl(UrlT&& value) {
49 SetUrl(std::forward<UrlT>(value));
50 return *this;
51 }
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) {
63 m_localPathHasBeenSet = true;
64 m_localPath = std::forward<LocalPathT>(value);
65 }
66 template <typename LocalPathT = Aws::String>
67 AuthorizedUrl& WithLocalPath(LocalPathT&& value) {
68 SetLocalPath(std::forward<LocalPathT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_url;
74
75 Aws::String m_localPath;
76 bool m_urlHasBeenSet = false;
77 bool m_localPathHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // 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