AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3MachineLearningModelResourceData.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/ResourceDownloadOwnerSetting.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASS_API S3MachineLearningModelResourceData() = default;
39 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDestinationPath() const { return m_destinationPath; }
47 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
48 template<typename DestinationPathT = Aws::String>
49 void SetDestinationPath(DestinationPathT&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::forward<DestinationPathT>(value); }
50 template<typename DestinationPathT = Aws::String>
51 S3MachineLearningModelResourceData& WithDestinationPath(DestinationPathT&& value) { SetDestinationPath(std::forward<DestinationPathT>(value)); return *this;}
53
55
56 inline const ResourceDownloadOwnerSetting& GetOwnerSetting() const { return m_ownerSetting; }
57 inline bool OwnerSettingHasBeenSet() const { return m_ownerSettingHasBeenSet; }
58 template<typename OwnerSettingT = ResourceDownloadOwnerSetting>
59 void SetOwnerSetting(OwnerSettingT&& value) { m_ownerSettingHasBeenSet = true; m_ownerSetting = std::forward<OwnerSettingT>(value); }
60 template<typename OwnerSettingT = ResourceDownloadOwnerSetting>
61 S3MachineLearningModelResourceData& WithOwnerSetting(OwnerSettingT&& value) { SetOwnerSetting(std::forward<OwnerSettingT>(value)); return *this;}
63
65
69 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
70 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
71 template<typename S3UriT = Aws::String>
72 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
73 template<typename S3UriT = Aws::String>
74 S3MachineLearningModelResourceData& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
76 private:
77
78 Aws::String m_destinationPath;
79 bool m_destinationPathHasBeenSet = false;
80
81 ResourceDownloadOwnerSetting m_ownerSetting;
82 bool m_ownerSettingHasBeenSet = false;
83
84 Aws::String m_s3Uri;
85 bool m_s3UriHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Greengrass
90} // namespace Aws
AWS_GREENGRASS_API S3MachineLearningModelResourceData(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
S3MachineLearningModelResourceData & WithOwnerSetting(OwnerSettingT &&value)
AWS_GREENGRASS_API S3MachineLearningModelResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
S3MachineLearningModelResourceData & WithS3Uri(S3UriT &&value)
AWS_GREENGRASS_API S3MachineLearningModelResourceData()=default
S3MachineLearningModelResourceData & WithDestinationPath(DestinationPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue