AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PresignedUrlAccessConfig.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
30 public:
31 AWS_SAGEMAKER_API PresignedUrlAccessConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline bool GetAcceptEula() const { return m_acceptEula; }
43 inline bool AcceptEulaHasBeenSet() const { return m_acceptEulaHasBeenSet; }
44 inline void SetAcceptEula(bool value) {
45 m_acceptEulaHasBeenSet = true;
46 m_acceptEula = value;
47 }
49 SetAcceptEula(value);
50 return *this;
51 }
53
55
60 inline const Aws::String& GetExpectedS3Url() const { return m_expectedS3Url; }
61 inline bool ExpectedS3UrlHasBeenSet() const { return m_expectedS3UrlHasBeenSet; }
62 template <typename ExpectedS3UrlT = Aws::String>
63 void SetExpectedS3Url(ExpectedS3UrlT&& value) {
64 m_expectedS3UrlHasBeenSet = true;
65 m_expectedS3Url = std::forward<ExpectedS3UrlT>(value);
66 }
67 template <typename ExpectedS3UrlT = Aws::String>
69 SetExpectedS3Url(std::forward<ExpectedS3UrlT>(value));
70 return *this;
71 }
73 private:
74 bool m_acceptEula{false};
75
76 Aws::String m_expectedS3Url;
77 bool m_acceptEulaHasBeenSet = false;
78 bool m_expectedS3UrlHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
PresignedUrlAccessConfig & WithAcceptEula(bool value)
PresignedUrlAccessConfig & WithExpectedS3Url(ExpectedS3UrlT &&value)
AWS_SAGEMAKER_API PresignedUrlAccessConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PresignedUrlAccessConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PresignedUrlAccessConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue