AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PresignedUrlAccessConfig.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
34 {
35 public:
36 AWS_SAGEMAKER_API PresignedUrlAccessConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline bool GetAcceptEula() const { return m_acceptEula; }
49 inline bool AcceptEulaHasBeenSet() const { return m_acceptEulaHasBeenSet; }
50 inline void SetAcceptEula(bool value) { m_acceptEulaHasBeenSet = true; m_acceptEula = value; }
51 inline PresignedUrlAccessConfig& WithAcceptEula(bool value) { SetAcceptEula(value); return *this;}
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) { m_expectedS3UrlHasBeenSet = true; m_expectedS3Url = std::forward<ExpectedS3UrlT>(value); }
64 template<typename ExpectedS3UrlT = Aws::String>
65 PresignedUrlAccessConfig& WithExpectedS3Url(ExpectedS3UrlT&& value) { SetExpectedS3Url(std::forward<ExpectedS3UrlT>(value)); return *this;}
67 private:
68
69 bool m_acceptEula{false};
70 bool m_acceptEulaHasBeenSet = false;
71
72 Aws::String m_expectedS3Url;
73 bool m_expectedS3UrlHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // 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