AWS SDK for C++  1.9.102
AWS SDK for C++
FaultRootCauseService.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace XRay
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline FaultRootCauseService& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline FaultRootCauseService& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline FaultRootCauseService& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
88 
92  inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
93 
97  inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
98 
102  inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
103 
107  inline FaultRootCauseService& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
108 
112  inline FaultRootCauseService& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
113 
117  inline FaultRootCauseService& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
118 
122  inline FaultRootCauseService& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
123 
127  inline FaultRootCauseService& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
128 
129 
133  inline const Aws::String& GetType() const{ return m_type; }
134 
138  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
139 
143  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
144 
148  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
149 
153  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
154 
158  inline FaultRootCauseService& WithType(const Aws::String& value) { SetType(value); return *this;}
159 
163  inline FaultRootCauseService& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
164 
168  inline FaultRootCauseService& WithType(const char* value) { SetType(value); return *this;}
169 
170 
174  inline const Aws::String& GetAccountId() const{ return m_accountId; }
175 
179  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
180 
184  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
185 
189  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
190 
194  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
195 
199  inline FaultRootCauseService& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
200 
204  inline FaultRootCauseService& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
205 
209  inline FaultRootCauseService& WithAccountId(const char* value) { SetAccountId(value); return *this;}
210 
211 
215  inline const Aws::Vector<FaultRootCauseEntity>& GetEntityPath() const{ return m_entityPath; }
216 
220  inline bool EntityPathHasBeenSet() const { return m_entityPathHasBeenSet; }
221 
225  inline void SetEntityPath(const Aws::Vector<FaultRootCauseEntity>& value) { m_entityPathHasBeenSet = true; m_entityPath = value; }
226 
230  inline void SetEntityPath(Aws::Vector<FaultRootCauseEntity>&& value) { m_entityPathHasBeenSet = true; m_entityPath = std::move(value); }
231 
235  inline FaultRootCauseService& WithEntityPath(const Aws::Vector<FaultRootCauseEntity>& value) { SetEntityPath(value); return *this;}
236 
240  inline FaultRootCauseService& WithEntityPath(Aws::Vector<FaultRootCauseEntity>&& value) { SetEntityPath(std::move(value)); return *this;}
241 
245  inline FaultRootCauseService& AddEntityPath(const FaultRootCauseEntity& value) { m_entityPathHasBeenSet = true; m_entityPath.push_back(value); return *this; }
246 
250  inline FaultRootCauseService& AddEntityPath(FaultRootCauseEntity&& value) { m_entityPathHasBeenSet = true; m_entityPath.push_back(std::move(value)); return *this; }
251 
252 
256  inline bool GetInferred() const{ return m_inferred; }
257 
261  inline bool InferredHasBeenSet() const { return m_inferredHasBeenSet; }
262 
266  inline void SetInferred(bool value) { m_inferredHasBeenSet = true; m_inferred = value; }
267 
271  inline FaultRootCauseService& WithInferred(bool value) { SetInferred(value); return *this;}
272 
273  private:
274 
275  Aws::String m_name;
276  bool m_nameHasBeenSet;
277 
278  Aws::Vector<Aws::String> m_names;
279  bool m_namesHasBeenSet;
280 
281  Aws::String m_type;
282  bool m_typeHasBeenSet;
283 
284  Aws::String m_accountId;
285  bool m_accountIdHasBeenSet;
286 
288  bool m_entityPathHasBeenSet;
289 
290  bool m_inferred;
291  bool m_inferredHasBeenSet;
292  };
293 
294 } // namespace Model
295 } // namespace XRay
296 } // namespace Aws
Aws::XRay::Model::FaultRootCauseService::EntityPathHasBeenSet
bool EntityPathHasBeenSet() const
Definition: FaultRootCauseService.h:220
Aws::XRay::Model::FaultRootCauseService::WithType
FaultRootCauseService & WithType(const char *value)
Definition: FaultRootCauseService.h:168
Aws::XRay::Model::FaultRootCauseService::SetName
void SetName(const char *value)
Definition: FaultRootCauseService.h:66
Aws::XRay::Model::FaultRootCauseService::WithName
FaultRootCauseService & WithName(const char *value)
Definition: FaultRootCauseService.h:81
Aws::XRay::Model::FaultRootCauseService::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: FaultRootCauseService.h:179
Aws::XRay::Model::FaultRootCauseService::SetNames
void SetNames(const Aws::Vector< Aws::String > &value)
Definition: FaultRootCauseService.h:97
Aws::XRay::Model::FaultRootCauseService::SetName
void SetName(Aws::String &&value)
Definition: FaultRootCauseService.h:61
Aws::XRay::Model::FaultRootCauseService::WithNames
FaultRootCauseService & WithNames(Aws::Vector< Aws::String > &&value)
Definition: FaultRootCauseService.h:112
Aws::XRay::Model::FaultRootCauseService::WithName
FaultRootCauseService & WithName(const Aws::String &value)
Definition: FaultRootCauseService.h:71
Aws::XRay::Model::FaultRootCauseService::AddNames
FaultRootCauseService & AddNames(Aws::String &&value)
Definition: FaultRootCauseService.h:122
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::XRay::Model::FaultRootCauseService::SetName
void SetName(const Aws::String &value)
Definition: FaultRootCauseService.h:56
Aws::XRay::Model::FaultRootCauseService::operator=
FaultRootCauseService & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::XRay::Model::FaultRootCauseService::SetEntityPath
void SetEntityPath(Aws::Vector< FaultRootCauseEntity > &&value)
Definition: FaultRootCauseService.h:230
Aws::XRay::Model::FaultRootCauseService::AddNames
FaultRootCauseService & AddNames(const Aws::String &value)
Definition: FaultRootCauseService.h:117
Aws::XRay::Model::FaultRootCauseService::WithType
FaultRootCauseService & WithType(const Aws::String &value)
Definition: FaultRootCauseService.h:158
Aws::XRay::Model::FaultRootCauseService::SetAccountId
void SetAccountId(const char *value)
Definition: FaultRootCauseService.h:194
Aws::XRay::Model::FaultRootCauseService::AddEntityPath
FaultRootCauseService & AddEntityPath(const FaultRootCauseEntity &value)
Definition: FaultRootCauseService.h:245
Aws::XRay::Model::FaultRootCauseService::WithNames
FaultRootCauseService & WithNames(const Aws::Vector< Aws::String > &value)
Definition: FaultRootCauseService.h:107
Aws::XRay::Model::FaultRootCauseService::WithAccountId
FaultRootCauseService & WithAccountId(const Aws::String &value)
Definition: FaultRootCauseService.h:199
Aws::XRay::Model::FaultRootCauseService::AddNames
FaultRootCauseService & AddNames(const char *value)
Definition: FaultRootCauseService.h:127
Aws::XRay::Model::FaultRootCauseService
Definition: FaultRootCauseService.h:35
Aws::XRay::Model::FaultRootCauseService::WithInferred
FaultRootCauseService & WithInferred(bool value)
Definition: FaultRootCauseService.h:271
Aws::XRay::Model::FaultRootCauseService::GetInferred
bool GetInferred() const
Definition: FaultRootCauseService.h:256
Aws::XRay::Model::FaultRootCauseService::WithEntityPath
FaultRootCauseService & WithEntityPath(const Aws::Vector< FaultRootCauseEntity > &value)
Definition: FaultRootCauseService.h:235
Aws::XRay::Model::FaultRootCauseService::SetType
void SetType(const Aws::String &value)
Definition: FaultRootCauseService.h:143
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::XRay::Model::FaultRootCauseService::SetEntityPath
void SetEntityPath(const Aws::Vector< FaultRootCauseEntity > &value)
Definition: FaultRootCauseService.h:225
Aws::XRay::Model::FaultRootCauseService::GetNames
const Aws::Vector< Aws::String > & GetNames() const
Definition: FaultRootCauseService.h:87
XRay_EXPORTS.h
Aws::XRay::Model::FaultRootCauseService::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FaultRootCauseService.h:51
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::XRay::Model::FaultRootCauseService::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: FaultRootCauseService.h:184
Aws::XRay::Model::FaultRootCauseService::FaultRootCauseService
FaultRootCauseService(Aws::Utils::Json::JsonView jsonValue)
Aws::XRay::Model::FaultRootCauseService::SetType
void SetType(Aws::String &&value)
Definition: FaultRootCauseService.h:148
Aws::XRay::Model::FaultRootCauseService::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
FaultRootCauseEntity.h
Aws::XRay::Model::FaultRootCauseService::SetNames
void SetNames(Aws::Vector< Aws::String > &&value)
Definition: FaultRootCauseService.h:102
Aws::XRay::Model::FaultRootCauseService::FaultRootCauseService
FaultRootCauseService()
Aws::XRay::Model::FaultRootCauseService::SetInferred
void SetInferred(bool value)
Definition: FaultRootCauseService.h:266
Aws::XRay::Model::FaultRootCauseService::GetEntityPath
const Aws::Vector< FaultRootCauseEntity > & GetEntityPath() const
Definition: FaultRootCauseService.h:215
Aws::XRay::Model::FaultRootCauseService::WithEntityPath
FaultRootCauseService & WithEntityPath(Aws::Vector< FaultRootCauseEntity > &&value)
Definition: FaultRootCauseService.h:240
Aws::XRay::Model::FaultRootCauseService::GetAccountId
const Aws::String & GetAccountId() const
Definition: FaultRootCauseService.h:174
Aws::XRay::Model::FaultRootCauseService::WithName
FaultRootCauseService & WithName(Aws::String &&value)
Definition: FaultRootCauseService.h:76
Aws::XRay::Model::FaultRootCauseService::SetType
void SetType(const char *value)
Definition: FaultRootCauseService.h:153
Aws::XRay::Model::FaultRootCauseService::WithAccountId
FaultRootCauseService & WithAccountId(Aws::String &&value)
Definition: FaultRootCauseService.h:204
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::FaultRootCauseService::GetName
const Aws::String & GetName() const
Definition: FaultRootCauseService.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::XRay::Model::FaultRootCauseService::InferredHasBeenSet
bool InferredHasBeenSet() const
Definition: FaultRootCauseService.h:261
Aws::XRay::Model::FaultRootCauseService::WithType
FaultRootCauseService & WithType(Aws::String &&value)
Definition: FaultRootCauseService.h:163
Aws::XRay::Model::FaultRootCauseEntity
Definition: FaultRootCauseEntity.h:35
Aws::XRay::Model::FaultRootCauseService::NamesHasBeenSet
bool NamesHasBeenSet() const
Definition: FaultRootCauseService.h:92
Aws::XRay::Model::FaultRootCauseService::AddEntityPath
FaultRootCauseService & AddEntityPath(FaultRootCauseEntity &&value)
Definition: FaultRootCauseService.h:250
Aws::XRay::Model::FaultRootCauseService::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FaultRootCauseService.h:138
Aws::XRay::Model::FaultRootCauseService::WithAccountId
FaultRootCauseService & WithAccountId(const char *value)
Definition: FaultRootCauseService.h:209
Aws::XRay::Model::FaultRootCauseService::GetType
const Aws::String & GetType() const
Definition: FaultRootCauseService.h:133
Aws::XRay::Model::FaultRootCauseService::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: FaultRootCauseService.h:189