AWS SDK for C++  1.9.21
AWS SDK for C++
S3KeyOutput.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace RoboMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetS3Key() const{ return m_s3Key; }
44 
48  inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
49 
53  inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
54 
58  inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
59 
63  inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
64 
68  inline S3KeyOutput& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
69 
73  inline S3KeyOutput& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
74 
78  inline S3KeyOutput& WithS3Key(const char* value) { SetS3Key(value); return *this;}
79 
80 
84  inline const Aws::String& GetEtag() const{ return m_etag; }
85 
89  inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
90 
94  inline void SetEtag(const Aws::String& value) { m_etagHasBeenSet = true; m_etag = value; }
95 
99  inline void SetEtag(Aws::String&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); }
100 
104  inline void SetEtag(const char* value) { m_etagHasBeenSet = true; m_etag.assign(value); }
105 
109  inline S3KeyOutput& WithEtag(const Aws::String& value) { SetEtag(value); return *this;}
110 
114  inline S3KeyOutput& WithEtag(Aws::String&& value) { SetEtag(std::move(value)); return *this;}
115 
119  inline S3KeyOutput& WithEtag(const char* value) { SetEtag(value); return *this;}
120 
121  private:
122 
123  Aws::String m_s3Key;
124  bool m_s3KeyHasBeenSet;
125 
126  Aws::String m_etag;
127  bool m_etagHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace RoboMaker
132 } // namespace Aws
Aws::RoboMaker::Model::S3KeyOutput::WithS3Key
S3KeyOutput & WithS3Key(Aws::String &&value)
Definition: S3KeyOutput.h:73
Aws::RoboMaker::Model::S3KeyOutput::WithS3Key
S3KeyOutput & WithS3Key(const char *value)
Definition: S3KeyOutput.h:78
Aws::RoboMaker::Model::S3KeyOutput::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: S3KeyOutput.h:48
Aws::RoboMaker::Model::S3KeyOutput::WithS3Key
S3KeyOutput & WithS3Key(const Aws::String &value)
Definition: S3KeyOutput.h:68
Aws::RoboMaker::Model::S3KeyOutput::S3KeyOutput
S3KeyOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::S3KeyOutput::WithEtag
S3KeyOutput & WithEtag(const char *value)
Definition: S3KeyOutput.h:119
Aws::RoboMaker::Model::S3KeyOutput::GetS3Key
const Aws::String & GetS3Key() const
Definition: S3KeyOutput.h:43
Aws::RoboMaker::Model::S3KeyOutput::SetS3Key
void SetS3Key(const char *value)
Definition: S3KeyOutput.h:63
Aws::RoboMaker::Model::S3KeyOutput::SetEtag
void SetEtag(const Aws::String &value)
Definition: S3KeyOutput.h:94
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::S3KeyOutput::SetEtag
void SetEtag(const char *value)
Definition: S3KeyOutput.h:104
Aws::RoboMaker::Model::S3KeyOutput::WithEtag
S3KeyOutput & WithEtag(Aws::String &&value)
Definition: S3KeyOutput.h:114
Aws::RoboMaker::Model::S3KeyOutput::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: S3KeyOutput.h:53
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::S3KeyOutput::operator=
S3KeyOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::S3KeyOutput::GetEtag
const Aws::String & GetEtag() const
Definition: S3KeyOutput.h:84
Aws::RoboMaker::Model::S3KeyOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::S3KeyOutput::WithEtag
S3KeyOutput & WithEtag(const Aws::String &value)
Definition: S3KeyOutput.h:109
Aws::RoboMaker::Model::S3KeyOutput::SetEtag
void SetEtag(Aws::String &&value)
Definition: S3KeyOutput.h:99
Aws::RoboMaker::Model::S3KeyOutput
Definition: S3KeyOutput.h:32
Aws::RoboMaker::Model::S3KeyOutput::S3KeyOutput
S3KeyOutput()
Aws::RoboMaker::Model::S3KeyOutput::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: S3KeyOutput.h:58
Aws::RoboMaker::Model::S3KeyOutput::EtagHasBeenSet
bool EtagHasBeenSet() const
Definition: S3KeyOutput.h:89