AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
S3BatchJobIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9#include <aws/m2/model/JobIdentifier.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MainframeModernization {
21namespace Model {
22
30 public:
31 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier() = default;
32 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBucket() const { return m_bucket; }
41 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
42 template <typename BucketT = Aws::String>
43 void SetBucket(BucketT&& value) {
44 m_bucketHasBeenSet = true;
45 m_bucket = std::forward<BucketT>(value);
46 }
47 template <typename BucketT = Aws::String>
48 S3BatchJobIdentifier& WithBucket(BucketT&& value) {
49 SetBucket(std::forward<BucketT>(value));
50 return *this;
51 }
53
55
61 inline const JobIdentifier& GetIdentifier() const { return m_identifier; }
62 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
63 template <typename IdentifierT = JobIdentifier>
64 void SetIdentifier(IdentifierT&& value) {
65 m_identifierHasBeenSet = true;
66 m_identifier = std::forward<IdentifierT>(value);
67 }
68 template <typename IdentifierT = JobIdentifier>
69 S3BatchJobIdentifier& WithIdentifier(IdentifierT&& value) {
70 SetIdentifier(std::forward<IdentifierT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
81 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
82 template <typename KeyPrefixT = Aws::String>
83 void SetKeyPrefix(KeyPrefixT&& value) {
84 m_keyPrefixHasBeenSet = true;
85 m_keyPrefix = std::forward<KeyPrefixT>(value);
86 }
87 template <typename KeyPrefixT = Aws::String>
88 S3BatchJobIdentifier& WithKeyPrefix(KeyPrefixT&& value) {
89 SetKeyPrefix(std::forward<KeyPrefixT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_bucket;
95
96 JobIdentifier m_identifier;
97
98 Aws::String m_keyPrefix;
99 bool m_bucketHasBeenSet = false;
100 bool m_identifierHasBeenSet = false;
101 bool m_keyPrefixHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace MainframeModernization
106} // namespace Aws
S3BatchJobIdentifier & WithKeyPrefix(KeyPrefixT &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
S3BatchJobIdentifier & WithIdentifier(IdentifierT &&value)
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier()=default
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue