AWS SDK for C++  1.9.21
AWS SDK for C++
UploadConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
60  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 
70  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 
80  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 
90  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91 
100  inline UploadConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
101 
110  inline UploadConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 
120  inline UploadConfiguration& WithName(const char* value) { SetName(value); return *this;}
121 
122 
130  inline const Aws::String& GetPath() const{ return m_path; }
131 
139  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
140 
148  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
149 
157  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
158 
166  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
167 
175  inline UploadConfiguration& WithPath(const Aws::String& value) { SetPath(value); return *this;}
176 
184  inline UploadConfiguration& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
185 
193  inline UploadConfiguration& WithPath(const char* value) { SetPath(value); return *this;}
194 
195 
207  inline const UploadBehavior& GetUploadBehavior() const{ return m_uploadBehavior; }
208 
220  inline bool UploadBehaviorHasBeenSet() const { return m_uploadBehaviorHasBeenSet; }
221 
233  inline void SetUploadBehavior(const UploadBehavior& value) { m_uploadBehaviorHasBeenSet = true; m_uploadBehavior = value; }
234 
246  inline void SetUploadBehavior(UploadBehavior&& value) { m_uploadBehaviorHasBeenSet = true; m_uploadBehavior = std::move(value); }
247 
259  inline UploadConfiguration& WithUploadBehavior(const UploadBehavior& value) { SetUploadBehavior(value); return *this;}
260 
272  inline UploadConfiguration& WithUploadBehavior(UploadBehavior&& value) { SetUploadBehavior(std::move(value)); return *this;}
273 
274  private:
275 
276  Aws::String m_name;
277  bool m_nameHasBeenSet;
278 
279  Aws::String m_path;
280  bool m_pathHasBeenSet;
281 
282  UploadBehavior m_uploadBehavior;
283  bool m_uploadBehaviorHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace RoboMaker
288 } // namespace Aws
Aws::RoboMaker::Model::UploadConfiguration::WithPath
UploadConfiguration & WithPath(const Aws::String &value)
Definition: UploadConfiguration.h:175
Aws::RoboMaker::Model::UploadConfiguration::operator=
UploadConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::UploadConfiguration::SetPath
void SetPath(Aws::String &&value)
Definition: UploadConfiguration.h:157
Aws::RoboMaker::Model::UploadConfiguration::GetUploadBehavior
const UploadBehavior & GetUploadBehavior() const
Definition: UploadConfiguration.h:207
Aws::RoboMaker::Model::UploadConfiguration::WithUploadBehavior
UploadConfiguration & WithUploadBehavior(const UploadBehavior &value)
Definition: UploadConfiguration.h:259
Aws::RoboMaker::Model::UploadConfiguration::WithName
UploadConfiguration & WithName(Aws::String &&value)
Definition: UploadConfiguration.h:110
Aws::RoboMaker::Model::UploadConfiguration::SetPath
void SetPath(const Aws::String &value)
Definition: UploadConfiguration.h:148
Aws::RoboMaker::Model::UploadConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::UploadConfiguration::SetName
void SetName(const Aws::String &value)
Definition: UploadConfiguration.h:70
Aws::RoboMaker::Model::UploadConfiguration::UploadConfiguration
UploadConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::UploadConfiguration::WithPath
UploadConfiguration & WithPath(const char *value)
Definition: UploadConfiguration.h:193
Aws::RoboMaker::Model::UploadConfiguration::SetUploadBehavior
void SetUploadBehavior(UploadBehavior &&value)
Definition: UploadConfiguration.h:246
Aws::RoboMaker::Model::UploadConfiguration::GetPath
const Aws::String & GetPath() const
Definition: UploadConfiguration.h:130
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::UploadConfiguration::SetName
void SetName(Aws::String &&value)
Definition: UploadConfiguration.h:80
Aws::RoboMaker::Model::UploadConfiguration::WithUploadBehavior
UploadConfiguration & WithUploadBehavior(UploadBehavior &&value)
Definition: UploadConfiguration.h:272
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::UploadConfiguration::WithName
UploadConfiguration & WithName(const char *value)
Definition: UploadConfiguration.h:120
Aws::RoboMaker::Model::UploadBehavior
UploadBehavior
Definition: UploadBehavior.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::UploadConfiguration::UploadBehaviorHasBeenSet
bool UploadBehaviorHasBeenSet() const
Definition: UploadConfiguration.h:220
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::UploadConfiguration::SetName
void SetName(const char *value)
Definition: UploadConfiguration.h:90
Aws::RoboMaker::Model::UploadConfiguration::UploadConfiguration
UploadConfiguration()
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::UploadConfiguration::SetUploadBehavior
void SetUploadBehavior(const UploadBehavior &value)
Definition: UploadConfiguration.h:233
Aws::RoboMaker::Model::UploadConfiguration::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UploadConfiguration.h:60
Aws::RoboMaker::Model::UploadConfiguration::SetPath
void SetPath(const char *value)
Definition: UploadConfiguration.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UploadBehavior.h
Aws::RoboMaker::Model::UploadConfiguration
Definition: UploadConfiguration.h:34
Aws::RoboMaker::Model::UploadConfiguration::WithName
UploadConfiguration & WithName(const Aws::String &value)
Definition: UploadConfiguration.h:100
Aws::RoboMaker::Model::UploadConfiguration::GetName
const Aws::String & GetName() const
Definition: UploadConfiguration.h:50
Aws::RoboMaker::Model::UploadConfiguration::WithPath
UploadConfiguration & WithPath(Aws::String &&value)
Definition: UploadConfiguration.h:184
Aws::RoboMaker::Model::UploadConfiguration::PathHasBeenSet
bool PathHasBeenSet() const
Definition: UploadConfiguration.h:139