AWS SDK for C++  1.9.71
AWS SDK for C++
ProblemDetail.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DeviceFarm
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
48  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 
53  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 
58  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 
63  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 
68  inline ProblemDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 
73  inline ProblemDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 
78  inline ProblemDetail& WithArn(const char* value) { SetArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetName() const{ return m_name; }
85 
89  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 
94  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 
99  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 
104  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 
109  inline ProblemDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
110 
114  inline ProblemDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 
119  inline ProblemDetail& WithName(const char* value) { SetName(value); return *this;}
120 
121  private:
122 
123  Aws::String m_arn;
124  bool m_arnHasBeenSet;
125 
126  Aws::String m_name;
127  bool m_nameHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace DeviceFarm
132 } // namespace Aws
Aws::DeviceFarm::Model::ProblemDetail::SetArn
void SetArn(const char *value)
Definition: ProblemDetail.h:63
Aws::DeviceFarm::Model::ProblemDetail::ProblemDetail
ProblemDetail()
Aws::DeviceFarm::Model::ProblemDetail::SetArn
void SetArn(const Aws::String &value)
Definition: ProblemDetail.h:53
Aws::DeviceFarm::Model::ProblemDetail::WithName
ProblemDetail & WithName(Aws::String &&value)
Definition: ProblemDetail.h:114
Aws::DeviceFarm::Model::ProblemDetail::GetName
const Aws::String & GetName() const
Definition: ProblemDetail.h:84
Aws::DeviceFarm::Model::ProblemDetail::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ProblemDetail.h:48
Aws::DeviceFarm::Model::ProblemDetail::WithName
ProblemDetail & WithName(const char *value)
Definition: ProblemDetail.h:119
Aws::DeviceFarm::Model::ProblemDetail::SetName
void SetName(const Aws::String &value)
Definition: ProblemDetail.h:94
Aws::DeviceFarm::Model::ProblemDetail::SetName
void SetName(const char *value)
Definition: ProblemDetail.h:104
Aws::DeviceFarm::Model::ProblemDetail::ProblemDetail
ProblemDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::ProblemDetail::SetName
void SetName(Aws::String &&value)
Definition: ProblemDetail.h:99
Aws::DeviceFarm::Model::ProblemDetail
Definition: ProblemDetail.h:32
Aws::DeviceFarm::Model::ProblemDetail::WithArn
ProblemDetail & WithArn(const char *value)
Definition: ProblemDetail.h:78
Aws::DeviceFarm::Model::ProblemDetail::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ProblemDetail.h:89
Aws::DeviceFarm::Model::ProblemDetail::GetArn
const Aws::String & GetArn() const
Definition: ProblemDetail.h:43
Aws::DeviceFarm::Model::ProblemDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ProblemDetail::operator=
ProblemDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::DeviceFarm::Model::ProblemDetail::WithArn
ProblemDetail & WithArn(const Aws::String &value)
Definition: ProblemDetail.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DeviceFarm::Model::ProblemDetail::WithArn
ProblemDetail & WithArn(Aws::String &&value)
Definition: ProblemDetail.h:73
Aws::DeviceFarm::Model::ProblemDetail::WithName
ProblemDetail & WithName(const Aws::String &value)
Definition: ProblemDetail.h:109
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::ProblemDetail::SetArn
void SetArn(Aws::String &&value)
Definition: ProblemDetail.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97