AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
49 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
50 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
51 inline S3BatchJobIdentifier& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline S3BatchJobIdentifier& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline S3BatchJobIdentifier& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
63 inline const JobIdentifier& GetIdentifier() const{ return m_identifier; }
64 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
65 inline void SetIdentifier(const JobIdentifier& value) { m_identifierHasBeenSet = true; m_identifier = value; }
66 inline void SetIdentifier(JobIdentifier&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
67 inline S3BatchJobIdentifier& WithIdentifier(const JobIdentifier& value) { SetIdentifier(value); return *this;}
68 inline S3BatchJobIdentifier& WithIdentifier(JobIdentifier&& value) { SetIdentifier(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
77 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
78 inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
79 inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
80 inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
81 inline S3BatchJobIdentifier& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
82 inline S3BatchJobIdentifier& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
83 inline S3BatchJobIdentifier& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
85 private:
86
87 Aws::String m_bucket;
88 bool m_bucketHasBeenSet = false;
89
90 JobIdentifier m_identifier;
91 bool m_identifierHasBeenSet = false;
92
93 Aws::String m_keyPrefix;
94 bool m_keyPrefixHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace MainframeModernization
99} // namespace Aws
S3BatchJobIdentifier & WithKeyPrefix(const char *value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier()
S3BatchJobIdentifier & WithIdentifier(JobIdentifier &&value)
S3BatchJobIdentifier & WithKeyPrefix(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier(Aws::Utils::Json::JsonView jsonValue)
S3BatchJobIdentifier & WithIdentifier(const JobIdentifier &value)
S3BatchJobIdentifier & WithBucket(const char *value)
S3BatchJobIdentifier & WithKeyPrefix(Aws::String &&value)
S3BatchJobIdentifier & WithBucket(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API S3BatchJobIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
S3BatchJobIdentifier & WithBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue