AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
JobInputOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/location/LocationService_EXPORTS.h>
9#include <aws/location/model/JobInputFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LocationService {
21namespace Model {
22
31 public:
32 AWS_LOCATIONSERVICE_API JobInputOptions() = default;
33 AWS_LOCATIONSERVICE_API JobInputOptions(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOCATIONSERVICE_API JobInputOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetLocation() const { return m_location; }
44 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
45 template <typename LocationT = Aws::String>
46 void SetLocation(LocationT&& value) {
47 m_locationHasBeenSet = true;
48 m_location = std::forward<LocationT>(value);
49 }
50 template <typename LocationT = Aws::String>
51 JobInputOptions& WithLocation(LocationT&& value) {
52 SetLocation(std::forward<LocationT>(value));
53 return *this;
54 }
56
58
63 inline JobInputFormat GetFormat() const { return m_format; }
64 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
65 inline void SetFormat(JobInputFormat value) {
66 m_formatHasBeenSet = true;
67 m_format = value;
68 }
70 SetFormat(value);
71 return *this;
72 }
74 private:
75 Aws::String m_location;
76
78 bool m_locationHasBeenSet = false;
79 bool m_formatHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace LocationService
84} // namespace Aws
AWS_LOCATIONSERVICE_API JobInputOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API JobInputOptions()=default
AWS_LOCATIONSERVICE_API JobInputOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
JobInputOptions & WithFormat(JobInputFormat value)
JobInputOptions & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue