AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
JobAttachmentSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
29 public:
30 AWS_DEADLINE_API JobAttachmentSettings() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
40 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
41 template <typename S3BucketNameT = Aws::String>
42 void SetS3BucketName(S3BucketNameT&& value) {
43 m_s3BucketNameHasBeenSet = true;
44 m_s3BucketName = std::forward<S3BucketNameT>(value);
45 }
46 template <typename S3BucketNameT = Aws::String>
47 JobAttachmentSettings& WithS3BucketName(S3BucketNameT&& value) {
48 SetS3BucketName(std::forward<S3BucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRootPrefix() const { return m_rootPrefix; }
58 inline bool RootPrefixHasBeenSet() const { return m_rootPrefixHasBeenSet; }
59 template <typename RootPrefixT = Aws::String>
60 void SetRootPrefix(RootPrefixT&& value) {
61 m_rootPrefixHasBeenSet = true;
62 m_rootPrefix = std::forward<RootPrefixT>(value);
63 }
64 template <typename RootPrefixT = Aws::String>
65 JobAttachmentSettings& WithRootPrefix(RootPrefixT&& value) {
66 SetRootPrefix(std::forward<RootPrefixT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3BucketName;
72
73 Aws::String m_rootPrefix;
74 bool m_s3BucketNameHasBeenSet = false;
75 bool m_rootPrefixHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace deadline
80} // namespace Aws
AWS_DEADLINE_API JobAttachmentSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JobAttachmentSettings & WithS3BucketName(S3BucketNameT &&value)
AWS_DEADLINE_API JobAttachmentSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API JobAttachmentSettings()=default
JobAttachmentSettings & WithRootPrefix(RootPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue