AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadConfiguration.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/UploadBehavior.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RoboMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROBOMAKER_API UploadConfiguration();
37 AWS_ROBOMAKER_API UploadConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline UploadConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline UploadConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline UploadConfiguration& WithName(const char* value) { SetName(value); return *this;}
61
63
70 inline const Aws::String& GetPath() const{ return m_path; }
71 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
72 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
73 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
74 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
75 inline UploadConfiguration& WithPath(const Aws::String& value) { SetPath(value); return *this;}
76 inline UploadConfiguration& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
77 inline UploadConfiguration& WithPath(const char* value) { SetPath(value); return *this;}
79
81
92 inline const UploadBehavior& GetUploadBehavior() const{ return m_uploadBehavior; }
93 inline bool UploadBehaviorHasBeenSet() const { return m_uploadBehaviorHasBeenSet; }
94 inline void SetUploadBehavior(const UploadBehavior& value) { m_uploadBehaviorHasBeenSet = true; m_uploadBehavior = value; }
95 inline void SetUploadBehavior(UploadBehavior&& value) { m_uploadBehaviorHasBeenSet = true; m_uploadBehavior = std::move(value); }
96 inline UploadConfiguration& WithUploadBehavior(const UploadBehavior& value) { SetUploadBehavior(value); return *this;}
97 inline UploadConfiguration& WithUploadBehavior(UploadBehavior&& value) { SetUploadBehavior(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_path;
105 bool m_pathHasBeenSet = false;
106
107 UploadBehavior m_uploadBehavior;
108 bool m_uploadBehaviorHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace RoboMaker
113} // namespace Aws
UploadConfiguration & WithUploadBehavior(const UploadBehavior &value)
UploadConfiguration & WithName(const Aws::String &value)
UploadConfiguration & WithPath(Aws::String &&value)
AWS_ROBOMAKER_API UploadConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetUploadBehavior(UploadBehavior &&value)
UploadConfiguration & WithName(const char *value)
void SetUploadBehavior(const UploadBehavior &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const UploadBehavior & GetUploadBehavior() const
UploadConfiguration & WithName(Aws::String &&value)
UploadConfiguration & WithUploadBehavior(UploadBehavior &&value)
UploadConfiguration & WithPath(const Aws::String &value)
UploadConfiguration & WithPath(const char *value)
AWS_ROBOMAKER_API UploadConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue