AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3KeyOutput.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_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 RoboMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ROBOMAKER_API S3KeyOutput();
35 AWS_ROBOMAKER_API S3KeyOutput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ROBOMAKER_API S3KeyOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
45 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
46 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
47 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
48 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
49 inline S3KeyOutput& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
50 inline S3KeyOutput& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
51 inline S3KeyOutput& WithS3Key(const char* value) { SetS3Key(value); return *this;}
53
55
58 inline const Aws::String& GetEtag() const{ return m_etag; }
59 inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
60 inline void SetEtag(const Aws::String& value) { m_etagHasBeenSet = true; m_etag = value; }
61 inline void SetEtag(Aws::String&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); }
62 inline void SetEtag(const char* value) { m_etagHasBeenSet = true; m_etag.assign(value); }
63 inline S3KeyOutput& WithEtag(const Aws::String& value) { SetEtag(value); return *this;}
64 inline S3KeyOutput& WithEtag(Aws::String&& value) { SetEtag(std::move(value)); return *this;}
65 inline S3KeyOutput& WithEtag(const char* value) { SetEtag(value); return *this;}
67 private:
68
69 Aws::String m_s3Key;
70 bool m_s3KeyHasBeenSet = false;
71
72 Aws::String m_etag;
73 bool m_etagHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace RoboMaker
78} // namespace Aws
S3KeyOutput & WithEtag(const Aws::String &value)
Definition S3KeyOutput.h:63
void SetS3Key(Aws::String &&value)
Definition S3KeyOutput.h:47
AWS_ROBOMAKER_API S3KeyOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Key(const char *value)
Definition S3KeyOutput.h:48
void SetEtag(Aws::String &&value)
Definition S3KeyOutput.h:61
S3KeyOutput & WithS3Key(const Aws::String &value)
Definition S3KeyOutput.h:49
void SetS3Key(const Aws::String &value)
Definition S3KeyOutput.h:46
void SetEtag(const Aws::String &value)
Definition S3KeyOutput.h:60
const Aws::String & GetS3Key() const
Definition S3KeyOutput.h:44
void SetEtag(const char *value)
Definition S3KeyOutput.h:62
S3KeyOutput & WithEtag(Aws::String &&value)
Definition S3KeyOutput.h:64
S3KeyOutput & WithS3Key(const char *value)
Definition S3KeyOutput.h:51
S3KeyOutput & WithS3Key(Aws::String &&value)
Definition S3KeyOutput.h:50
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
S3KeyOutput & WithEtag(const char *value)
Definition S3KeyOutput.h:65
const Aws::String & GetEtag() const
Definition S3KeyOutput.h:58
AWS_ROBOMAKER_API S3KeyOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue