AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename S3KeyT = Aws::String>
47 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
48 template<typename S3KeyT = Aws::String>
49 S3KeyOutput& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
51
53
56 inline const Aws::String& GetEtag() const { return m_etag; }
57 inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
58 template<typename EtagT = Aws::String>
59 void SetEtag(EtagT&& value) { m_etagHasBeenSet = true; m_etag = std::forward<EtagT>(value); }
60 template<typename EtagT = Aws::String>
61 S3KeyOutput& WithEtag(EtagT&& value) { SetEtag(std::forward<EtagT>(value)); return *this;}
63 private:
64
65 Aws::String m_s3Key;
66 bool m_s3KeyHasBeenSet = false;
67
68 Aws::String m_etag;
69 bool m_etagHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace RoboMaker
74} // namespace Aws
S3KeyOutput & WithS3Key(S3KeyT &&value)
Definition S3KeyOutput.h:49
AWS_ROBOMAKER_API S3KeyOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API S3KeyOutput()=default
const Aws::String & GetS3Key() const
Definition S3KeyOutput.h:44
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Key(S3KeyT &&value)
Definition S3KeyOutput.h:47
S3KeyOutput & WithEtag(EtagT &&value)
Definition S3KeyOutput.h:61
const Aws::String & GetEtag() const
Definition S3KeyOutput.h:56
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