AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Source.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/Location.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 IoTSiteWise
23{
24namespace Model
25{
26
32 class Source
33 {
34 public:
35 AWS_IOTSITEWISE_API Source() = default;
36 AWS_IOTSITEWISE_API Source(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API Source& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 Source& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
60 inline const Location& GetLocation() const { return m_location; }
61 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
62 template<typename LocationT = Location>
63 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
64 template<typename LocationT = Location>
65 Source& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
67 private:
68
69 Aws::String m_arn;
70 bool m_arnHasBeenSet = false;
71
72 Location m_location;
73 bool m_locationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTSiteWise
78} // namespace Aws
const Aws::String & GetArn() const
Definition Source.h:46
bool LocationHasBeenSet() const
Definition Source.h:61
void SetArn(ArnT &&value)
Definition Source.h:49
AWS_IOTSITEWISE_API Source()=default
Source & WithArn(ArnT &&value)
Definition Source.h:51
AWS_IOTSITEWISE_API Source(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(LocationT &&value)
Definition Source.h:63
const Location & GetLocation() const
Definition Source.h:60
AWS_IOTSITEWISE_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Source & WithLocation(LocationT &&value)
Definition Source.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue