AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
JobOutputOptions.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/JobOutputFormat.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
30 public:
31 AWS_LOCATIONSERVICE_API JobOutputOptions() = default;
32 AWS_LOCATIONSERVICE_API JobOutputOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOCATIONSERVICE_API JobOutputOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline JobOutputFormat GetFormat() const { return m_format; }
41 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
42 inline void SetFormat(JobOutputFormat value) {
43 m_formatHasBeenSet = true;
44 m_format = value;
45 }
47 SetFormat(value);
48 return *this;
49 }
51
53
58 inline const Aws::String& GetLocation() const { return m_location; }
59 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
60 template <typename LocationT = Aws::String>
61 void SetLocation(LocationT&& value) {
62 m_locationHasBeenSet = true;
63 m_location = std::forward<LocationT>(value);
64 }
65 template <typename LocationT = Aws::String>
66 JobOutputOptions& WithLocation(LocationT&& value) {
67 SetLocation(std::forward<LocationT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_location;
75 bool m_formatHasBeenSet = false;
76 bool m_locationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace LocationService
81} // namespace Aws
AWS_LOCATIONSERVICE_API JobOutputOptions()=default
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API JobOutputOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
JobOutputOptions & WithLocation(LocationT &&value)
JobOutputOptions & WithFormat(JobOutputFormat value)
AWS_LOCATIONSERVICE_API JobOutputOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue