AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; }
49 inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); }
50 inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); }
52 inline S3MachineLearningModelResourceData& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;}
53 inline S3MachineLearningModelResourceData& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;}
55
57
58 inline const ResourceDownloadOwnerSetting& GetOwnerSetting() const{ return m_ownerSetting; }
59 inline bool OwnerSettingHasBeenSet() const { return m_ownerSettingHasBeenSet; }
60 inline void SetOwnerSetting(const ResourceDownloadOwnerSetting& value) { m_ownerSettingHasBeenSet = true; m_ownerSetting = value; }
61 inline void SetOwnerSetting(ResourceDownloadOwnerSetting&& value) { m_ownerSettingHasBeenSet = true; m_ownerSetting = std::move(value); }
65
67
71 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
72 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
73 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
74 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
75 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
76 inline S3MachineLearningModelResourceData& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
77 inline S3MachineLearningModelResourceData& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
78 inline S3MachineLearningModelResourceData& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
80 private:
81
82 Aws::String m_destinationPath;
83 bool m_destinationPathHasBeenSet = false;
84
85 ResourceDownloadOwnerSetting m_ownerSetting;
86 bool m_ownerSettingHasBeenSet = false;
87
88 Aws::String m_s3Uri;
89 bool m_s3UriHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Greengrass
94} // namespace Aws
S3MachineLearningModelResourceData & WithOwnerSetting(ResourceDownloadOwnerSetting &&value)
AWS_GREENGRASS_API S3MachineLearningModelResourceData(Aws::Utils::Json::JsonView jsonValue)
S3MachineLearningModelResourceData & WithS3Uri(const char *value)
S3MachineLearningModelResourceData & WithOwnerSetting(const ResourceDownloadOwnerSetting &value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
S3MachineLearningModelResourceData & WithDestinationPath(const Aws::String &value)
S3MachineLearningModelResourceData & WithS3Uri(const Aws::String &value)
AWS_GREENGRASS_API S3MachineLearningModelResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
S3MachineLearningModelResourceData & WithDestinationPath(Aws::String &&value)
S3MachineLearningModelResourceData & WithDestinationPath(const char *value)
S3MachineLearningModelResourceData & WithS3Uri(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue