AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Graph.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Detective
23{
24namespace Model
25{
26
32 class Graph
33 {
34 public:
35 AWS_DETECTIVE_API Graph();
36 AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DETECTIVE_API Graph& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline Graph& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline Graph& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline Graph& WithArn(const char* value) { SetArn(value); return *this;}
54
56
61 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
62 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
63 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
64 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
65 inline Graph& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
66 inline Graph& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
73 Aws::Utils::DateTime m_createdTime;
74 bool m_createdTimeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Detective
79} // namespace Aws
Graph & WithArn(Aws::String &&value)
Definition Graph.h:51
Graph & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Graph.h:65
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Graph.h:63
bool ArnHasBeenSet() const
Definition Graph.h:46
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(Aws::String &&value)
Definition Graph.h:48
Graph & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Graph.h:66
bool CreatedTimeHasBeenSet() const
Definition Graph.h:62
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Graph.h:61
AWS_DETECTIVE_API Graph & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
Definition Graph.h:49
AWS_DETECTIVE_API Graph()
Graph & WithArn(const char *value)
Definition Graph.h:52
Graph & WithArn(const Aws::String &value)
Definition Graph.h:50
AWS_DETECTIVE_API Graph(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Graph.h:64
const Aws::String & GetArn() const
Definition Graph.h:45
void SetArn(const Aws::String &value)
Definition Graph.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue