AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseTimeRootCauseService.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/ResponseTimeRootCauseEntity.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
35 {
36 public:
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline ResponseTimeRootCauseService& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ResponseTimeRootCauseService& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ResponseTimeRootCauseService& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
62 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
63 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
64 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
65 inline ResponseTimeRootCauseService& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
66 inline ResponseTimeRootCauseService& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
67 inline ResponseTimeRootCauseService& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
68 inline ResponseTimeRootCauseService& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
69 inline ResponseTimeRootCauseService& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetType() const{ return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
79 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
81 inline ResponseTimeRootCauseService& WithType(const Aws::String& value) { SetType(value); return *this;}
82 inline ResponseTimeRootCauseService& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
83 inline ResponseTimeRootCauseService& WithType(const char* value) { SetType(value); return *this;}
85
87
90 inline const Aws::String& GetAccountId() const{ return m_accountId; }
91 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
92 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
93 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
94 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
95 inline ResponseTimeRootCauseService& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
96 inline ResponseTimeRootCauseService& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
97 inline ResponseTimeRootCauseService& WithAccountId(const char* value) { SetAccountId(value); return *this;}
99
101
104 inline const Aws::Vector<ResponseTimeRootCauseEntity>& GetEntityPath() const{ return m_entityPath; }
105 inline bool EntityPathHasBeenSet() const { return m_entityPathHasBeenSet; }
106 inline void SetEntityPath(const Aws::Vector<ResponseTimeRootCauseEntity>& value) { m_entityPathHasBeenSet = true; m_entityPath = value; }
107 inline void SetEntityPath(Aws::Vector<ResponseTimeRootCauseEntity>&& value) { m_entityPathHasBeenSet = true; m_entityPath = std::move(value); }
110 inline ResponseTimeRootCauseService& AddEntityPath(const ResponseTimeRootCauseEntity& value) { m_entityPathHasBeenSet = true; m_entityPath.push_back(value); return *this; }
111 inline ResponseTimeRootCauseService& AddEntityPath(ResponseTimeRootCauseEntity&& value) { m_entityPathHasBeenSet = true; m_entityPath.push_back(std::move(value)); return *this; }
113
115
118 inline bool GetInferred() const{ return m_inferred; }
119 inline bool InferredHasBeenSet() const { return m_inferredHasBeenSet; }
120 inline void SetInferred(bool value) { m_inferredHasBeenSet = true; m_inferred = value; }
121 inline ResponseTimeRootCauseService& WithInferred(bool value) { SetInferred(value); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
129 bool m_namesHasBeenSet = false;
130
131 Aws::String m_type;
132 bool m_typeHasBeenSet = false;
133
134 Aws::String m_accountId;
135 bool m_accountIdHasBeenSet = false;
136
138 bool m_entityPathHasBeenSet = false;
139
140 bool m_inferred;
141 bool m_inferredHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace XRay
146} // namespace Aws
ResponseTimeRootCauseService & WithName(Aws::String &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
ResponseTimeRootCauseService & AddEntityPath(const ResponseTimeRootCauseEntity &value)
ResponseTimeRootCauseService & WithName(const char *value)
ResponseTimeRootCauseService & WithNames(Aws::Vector< Aws::String > &&value)
void SetEntityPath(Aws::Vector< ResponseTimeRootCauseEntity > &&value)
ResponseTimeRootCauseService & AddNames(const char *value)
void SetEntityPath(const Aws::Vector< ResponseTimeRootCauseEntity > &value)
void SetNames(Aws::Vector< Aws::String > &&value)
AWS_XRAY_API ResponseTimeRootCauseService(Aws::Utils::Json::JsonView jsonValue)
ResponseTimeRootCauseService & WithNames(const Aws::Vector< Aws::String > &value)
ResponseTimeRootCauseService & WithAccountId(const Aws::String &value)
ResponseTimeRootCauseService & AddNames(const Aws::String &value)
ResponseTimeRootCauseService & AddEntityPath(ResponseTimeRootCauseEntity &&value)
ResponseTimeRootCauseService & WithType(const char *value)
ResponseTimeRootCauseService & WithName(const Aws::String &value)
const Aws::Vector< ResponseTimeRootCauseEntity > & GetEntityPath() const
ResponseTimeRootCauseService & WithType(const Aws::String &value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseTimeRootCauseService & WithType(Aws::String &&value)
ResponseTimeRootCauseService & WithEntityPath(const Aws::Vector< ResponseTimeRootCauseEntity > &value)
ResponseTimeRootCauseService & WithAccountId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNames() const
ResponseTimeRootCauseService & WithInferred(bool value)
ResponseTimeRootCauseService & AddNames(Aws::String &&value)
ResponseTimeRootCauseService & WithEntityPath(Aws::Vector< ResponseTimeRootCauseEntity > &&value)
AWS_XRAY_API ResponseTimeRootCauseService & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseTimeRootCauseService & WithAccountId(const char *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