AWS SDK for C++  1.9.19
AWS SDK for C++
OutputLocation.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& GetS3Bucket() const{ return m_s3Bucket; }
44 
48  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
49 
53  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
54 
58  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
59 
63  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
64 
68  inline OutputLocation& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
69 
73  inline OutputLocation& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
74 
78  inline OutputLocation& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
79 
80 
85  inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
86 
91  inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
92 
97  inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
98 
103  inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
104 
109  inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
110 
115  inline OutputLocation& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
116 
121  inline OutputLocation& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
122 
127  inline OutputLocation& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
128 
129  private:
130 
131  Aws::String m_s3Bucket;
132  bool m_s3BucketHasBeenSet;
133 
134  Aws::String m_s3Prefix;
135  bool m_s3PrefixHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace RoboMaker
140 } // namespace Aws
Aws::RoboMaker::Model::OutputLocation::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: OutputLocation.h:43
Aws::RoboMaker::Model::OutputLocation::WithS3Prefix
OutputLocation & WithS3Prefix(const Aws::String &value)
Definition: OutputLocation.h:115
Aws::RoboMaker::Model::OutputLocation::SetS3Prefix
void SetS3Prefix(const char *value)
Definition: OutputLocation.h:109
Aws::RoboMaker::Model::OutputLocation::WithS3Prefix
OutputLocation & WithS3Prefix(const char *value)
Definition: OutputLocation.h:127
Aws::RoboMaker::Model::OutputLocation::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: OutputLocation.h:63
Aws::RoboMaker::Model::OutputLocation::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: OutputLocation.h:58
Aws::RoboMaker::Model::OutputLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::OutputLocation::GetS3Prefix
const Aws::String & GetS3Prefix() const
Definition: OutputLocation.h:85
Aws::RoboMaker::Model::OutputLocation::SetS3Prefix
void SetS3Prefix(const Aws::String &value)
Definition: OutputLocation.h:97
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::OutputLocation
Definition: OutputLocation.h:32
Aws::RoboMaker::Model::OutputLocation::operator=
OutputLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::OutputLocation::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: OutputLocation.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::OutputLocation::OutputLocation
OutputLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::OutputLocation::SetS3Prefix
void SetS3Prefix(Aws::String &&value)
Definition: OutputLocation.h:103
Aws::RoboMaker::Model::OutputLocation::WithS3Bucket
OutputLocation & WithS3Bucket(const char *value)
Definition: OutputLocation.h:78
Aws::RoboMaker::Model::OutputLocation::S3PrefixHasBeenSet
bool S3PrefixHasBeenSet() const
Definition: OutputLocation.h:91
Aws::RoboMaker::Model::OutputLocation::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: OutputLocation.h:48
Aws::RoboMaker::Model::OutputLocation::WithS3Bucket
OutputLocation & WithS3Bucket(const Aws::String &value)
Definition: OutputLocation.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::OutputLocation::WithS3Bucket
OutputLocation & WithS3Bucket(Aws::String &&value)
Definition: OutputLocation.h:73
Aws::RoboMaker::Model::OutputLocation::OutputLocation
OutputLocation()
Aws::RoboMaker::Model::OutputLocation::WithS3Prefix
OutputLocation & WithS3Prefix(Aws::String &&value)
Definition: OutputLocation.h:121