AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Object.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MigrationHubStrategyRecommendations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object();
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
46 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
47 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
48 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
49 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
50 inline S3Object& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
51 inline S3Object& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
52 inline S3Object& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
54
56
59 inline const Aws::String& GetS3key() const{ return m_s3key; }
60 inline bool S3keyHasBeenSet() const { return m_s3keyHasBeenSet; }
61 inline void SetS3key(const Aws::String& value) { m_s3keyHasBeenSet = true; m_s3key = value; }
62 inline void SetS3key(Aws::String&& value) { m_s3keyHasBeenSet = true; m_s3key = std::move(value); }
63 inline void SetS3key(const char* value) { m_s3keyHasBeenSet = true; m_s3key.assign(value); }
64 inline S3Object& WithS3key(const Aws::String& value) { SetS3key(value); return *this;}
65 inline S3Object& WithS3key(Aws::String&& value) { SetS3key(std::move(value)); return *this;}
66 inline S3Object& WithS3key(const char* value) { SetS3key(value); return *this;}
68 private:
69
70 Aws::String m_s3Bucket;
71 bool m_s3BucketHasBeenSet = false;
72
73 Aws::String m_s3key;
74 bool m_s3keyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MigrationHubStrategyRecommendations
79} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Object & WithS3Bucket(const Aws::String &value)
Definition S3Object.h:50
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API S3Object(Aws::Utils::Json::JsonView jsonValue)
S3Object & WithS3key(const Aws::String &value)
Definition S3Object.h:64
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue