AWS SDK for C++  1.9.158
AWS SDK for C++
TemplateLocation.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 TemplateLocation& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
69 
73  inline TemplateLocation& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
74 
78  inline TemplateLocation& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
79 
80 
84  inline const Aws::String& GetS3Key() const{ return m_s3Key; }
85 
89  inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
90 
94  inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
95 
99  inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
100 
104  inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
105 
109  inline TemplateLocation& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
110 
114  inline TemplateLocation& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
115 
119  inline TemplateLocation& WithS3Key(const char* value) { SetS3Key(value); return *this;}
120 
121  private:
122 
123  Aws::String m_s3Bucket;
124  bool m_s3BucketHasBeenSet;
125 
126  Aws::String m_s3Key;
127  bool m_s3KeyHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace RoboMaker
132 } // namespace Aws
Aws::RoboMaker::Model::TemplateLocation::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: TemplateLocation.h:89
Aws::RoboMaker::Model::TemplateLocation::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: TemplateLocation.h:53
Aws::RoboMaker::Model::TemplateLocation
Definition: TemplateLocation.h:32
Aws::RoboMaker::Model::TemplateLocation::WithS3Key
TemplateLocation & WithS3Key(Aws::String &&value)
Definition: TemplateLocation.h:114
Aws::RoboMaker::Model::TemplateLocation::WithS3Key
TemplateLocation & WithS3Key(const char *value)
Definition: TemplateLocation.h:119
Aws::RoboMaker::Model::TemplateLocation::TemplateLocation
TemplateLocation()
Aws::RoboMaker::Model::TemplateLocation::GetS3Key
const Aws::String & GetS3Key() const
Definition: TemplateLocation.h:84
Aws::RoboMaker::Model::TemplateLocation::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: TemplateLocation.h:63
Aws::RoboMaker::Model::TemplateLocation::SetS3Key
void SetS3Key(const char *value)
Definition: TemplateLocation.h:104
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::TemplateLocation::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: TemplateLocation.h:99
Aws::RoboMaker::Model::TemplateLocation::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: TemplateLocation.h:43
Aws::RoboMaker::Model::TemplateLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::TemplateLocation::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: TemplateLocation.h:58
RoboMaker_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::RoboMaker::Model::TemplateLocation::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: TemplateLocation.h:94
Aws::RoboMaker::Model::TemplateLocation::operator=
TemplateLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::TemplateLocation::WithS3Bucket
TemplateLocation & WithS3Bucket(const char *value)
Definition: TemplateLocation.h:78
Aws::RoboMaker::Model::TemplateLocation::WithS3Key
TemplateLocation & WithS3Key(const Aws::String &value)
Definition: TemplateLocation.h:109
Aws::RoboMaker::Model::TemplateLocation::WithS3Bucket
TemplateLocation & WithS3Bucket(Aws::String &&value)
Definition: TemplateLocation.h:73
Aws::RoboMaker::Model::TemplateLocation::WithS3Bucket
TemplateLocation & WithS3Bucket(const Aws::String &value)
Definition: TemplateLocation.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
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::TemplateLocation::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: TemplateLocation.h:48
Aws::RoboMaker::Model::TemplateLocation::TemplateLocation
TemplateLocation(Aws::Utils::Json::JsonView jsonValue)