AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3BatchJobIdentifier.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/model/JobIdentifier.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 MainframeModernization
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier() = default;
37 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucket() const { return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 S3BatchJobIdentifier& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
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) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
65 template<typename IdentifierT = JobIdentifier>
66 S3BatchJobIdentifier& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
68
70
74 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
75 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
76 template<typename KeyPrefixT = Aws::String>
77 void SetKeyPrefix(KeyPrefixT&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
78 template<typename KeyPrefixT = Aws::String>
79 S3BatchJobIdentifier& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
81 private:
82
83 Aws::String m_bucket;
84 bool m_bucketHasBeenSet = false;
85
86 JobIdentifier m_identifier;
87 bool m_identifierHasBeenSet = false;
88
89 Aws::String m_keyPrefix;
90 bool m_keyPrefixHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MainframeModernization
95} // 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