AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Graph.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/Detective_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Detective {
21namespace Model {
22
28class Graph {
29 public:
30 AWS_DETECTIVE_API Graph() = default;
31 AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DETECTIVE_API Graph& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 Graph& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
60 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
61 template <typename CreatedTimeT = Aws::Utils::DateTime>
62 void SetCreatedTime(CreatedTimeT&& value) {
63 m_createdTimeHasBeenSet = true;
64 m_createdTime = std::forward<CreatedTimeT>(value);
65 }
66 template <typename CreatedTimeT = Aws::Utils::DateTime>
67 Graph& WithCreatedTime(CreatedTimeT&& value) {
68 SetCreatedTime(std::forward<CreatedTimeT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_arn;
74
75 Aws::Utils::DateTime m_createdTime{};
76 bool m_arnHasBeenSet = false;
77 bool m_createdTimeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Detective
82} // namespace Aws
Graph & WithCreatedTime(CreatedTimeT &&value)
Definition Graph.h:67
bool ArnHasBeenSet() const
Definition Graph.h:40
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DETECTIVE_API Graph()=default
Graph & WithArn(ArnT &&value)
Definition Graph.h:47
bool CreatedTimeHasBeenSet() const
Definition Graph.h:60
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Graph.h:59
AWS_DETECTIVE_API Graph & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition Graph.h:39
void SetArn(ArnT &&value)
Definition Graph.h:42
void SetCreatedTime(CreatedTimeT &&value)
Definition Graph.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue