AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InsightImpactGraphService.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/model/InsightImpactGraphEdge.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace XRay
24{
25namespace Model
26{
27
36 {
37 public:
42
43
45
48 inline int GetReferenceId() const{ return m_referenceId; }
49 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
50 inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
51 inline InsightImpactGraphService& WithReferenceId(int value) { SetReferenceId(value); return *this;}
53
55
68 inline const Aws::String& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
73 inline InsightImpactGraphService& WithType(const Aws::String& value) { SetType(value); return *this;}
74 inline InsightImpactGraphService& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
75 inline InsightImpactGraphService& WithType(const char* value) { SetType(value); return *this;}
77
79
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
86 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 inline InsightImpactGraphService& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline InsightImpactGraphService& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline InsightImpactGraphService& WithName(const char* value) { SetName(value); return *this;}
91
93
96 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
97 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
98 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
99 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
100 inline InsightImpactGraphService& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
101 inline InsightImpactGraphService& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
102 inline InsightImpactGraphService& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
103 inline InsightImpactGraphService& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
104 inline InsightImpactGraphService& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
106
108
111 inline const Aws::String& GetAccountId() const{ return m_accountId; }
112 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
113 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
114 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
115 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
116 inline InsightImpactGraphService& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
117 inline InsightImpactGraphService& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
118 inline InsightImpactGraphService& WithAccountId(const char* value) { SetAccountId(value); return *this;}
120
122
125 inline const Aws::Vector<InsightImpactGraphEdge>& GetEdges() const{ return m_edges; }
126 inline bool EdgesHasBeenSet() const { return m_edgesHasBeenSet; }
127 inline void SetEdges(const Aws::Vector<InsightImpactGraphEdge>& value) { m_edgesHasBeenSet = true; m_edges = value; }
128 inline void SetEdges(Aws::Vector<InsightImpactGraphEdge>&& value) { m_edgesHasBeenSet = true; m_edges = std::move(value); }
130 inline InsightImpactGraphService& WithEdges(Aws::Vector<InsightImpactGraphEdge>&& value) { SetEdges(std::move(value)); return *this;}
131 inline InsightImpactGraphService& AddEdges(const InsightImpactGraphEdge& value) { m_edgesHasBeenSet = true; m_edges.push_back(value); return *this; }
132 inline InsightImpactGraphService& AddEdges(InsightImpactGraphEdge&& value) { m_edgesHasBeenSet = true; m_edges.push_back(std::move(value)); return *this; }
134 private:
135
136 int m_referenceId;
137 bool m_referenceIdHasBeenSet = false;
138
139 Aws::String m_type;
140 bool m_typeHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
146 bool m_namesHasBeenSet = false;
147
148 Aws::String m_accountId;
149 bool m_accountIdHasBeenSet = false;
150
152 bool m_edgesHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace XRay
157} // namespace Aws
const Aws::Vector< Aws::String > & GetNames() const
InsightImpactGraphService & AddNames(Aws::String &&value)
InsightImpactGraphService & WithName(const char *value)
InsightImpactGraphService & WithNames(const Aws::Vector< Aws::String > &value)
AWS_XRAY_API InsightImpactGraphService & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightImpactGraphService & WithType(const Aws::String &value)
InsightImpactGraphService & AddEdges(InsightImpactGraphEdge &&value)
void SetEdges(Aws::Vector< InsightImpactGraphEdge > &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
InsightImpactGraphService & WithAccountId(Aws::String &&value)
const Aws::Vector< InsightImpactGraphEdge > & GetEdges() const
InsightImpactGraphService & WithName(Aws::String &&value)
void SetNames(Aws::Vector< Aws::String > &&value)
InsightImpactGraphService & WithType(const char *value)
InsightImpactGraphService & AddNames(const Aws::String &value)
InsightImpactGraphService & WithType(Aws::String &&value)
void SetEdges(const Aws::Vector< InsightImpactGraphEdge > &value)
InsightImpactGraphService & WithAccountId(const char *value)
InsightImpactGraphService & AddNames(const char *value)
InsightImpactGraphService & WithEdges(const Aws::Vector< InsightImpactGraphEdge > &value)
AWS_XRAY_API InsightImpactGraphService(Aws::Utils::Json::JsonView jsonValue)
InsightImpactGraphService & WithReferenceId(int value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
InsightImpactGraphService & WithEdges(Aws::Vector< InsightImpactGraphEdge > &&value)
InsightImpactGraphService & WithAccountId(const Aws::String &value)
InsightImpactGraphService & WithName(const Aws::String &value)
InsightImpactGraphService & WithNames(Aws::Vector< Aws::String > &&value)
InsightImpactGraphService & AddEdges(const InsightImpactGraphEdge &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue