AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 UploadConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
68 inline const Aws::String& GetPath() const { return m_path; }
69 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
70 template<typename PathT = Aws::String>
71 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
72 template<typename PathT = Aws::String>
73 UploadConfiguration& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
75
77
88 inline UploadBehavior GetUploadBehavior() const { return m_uploadBehavior; }
89 inline bool UploadBehaviorHasBeenSet() const { return m_uploadBehaviorHasBeenSet; }
90 inline void SetUploadBehavior(UploadBehavior value) { m_uploadBehaviorHasBeenSet = true; m_uploadBehavior = value; }
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_path;
99 bool m_pathHasBeenSet = false;
100
101 UploadBehavior m_uploadBehavior{UploadBehavior::NOT_SET};
102 bool m_uploadBehaviorHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace RoboMaker
107} // namespace Aws
UploadConfiguration & WithUploadBehavior(UploadBehavior value)
AWS_ROBOMAKER_API UploadConfiguration()=default
AWS_ROBOMAKER_API UploadConfiguration(Aws::Utils::Json::JsonView jsonValue)
UploadConfiguration & WithName(NameT &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API UploadConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UploadConfiguration & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue