AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TraceLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/nova-act/NovaAct_EXPORTS.h>
9#include <aws/nova-act/model/TraceLocationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NovaAct {
21namespace Model {
22
30 public:
31 AWS_NOVAACT_API TraceLocation() = default;
32 AWS_NOVAACT_API TraceLocation(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TraceLocationType GetLocationType() const { return m_locationType; }
41 inline bool LocationTypeHasBeenSet() const { return m_locationTypeHasBeenSet; }
43 m_locationTypeHasBeenSet = true;
44 m_locationType = value;
45 }
47 SetLocationType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLocation() const { return m_location; }
57 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
58 template <typename LocationT = Aws::String>
59 void SetLocation(LocationT&& value) {
60 m_locationHasBeenSet = true;
61 m_location = std::forward<LocationT>(value);
62 }
63 template <typename LocationT = Aws::String>
64 TraceLocation& WithLocation(LocationT&& value) {
65 SetLocation(std::forward<LocationT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_location;
73 bool m_locationTypeHasBeenSet = false;
74 bool m_locationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace NovaAct
79} // namespace Aws
void SetLocation(LocationT &&value)
AWS_NOVAACT_API TraceLocation(Aws::Utils::Json::JsonView jsonValue)
void SetLocationType(TraceLocationType value)
AWS_NOVAACT_API TraceLocation()=default
const Aws::String & GetLocation() const
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOVAACT_API TraceLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
TraceLocation & WithLocationType(TraceLocationType value)
TraceLocationType GetLocationType() const
TraceLocation & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue