AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentError.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FIS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FIS_API ExperimentError();
39
40
42
45 inline const Aws::String& GetAccountId() const{ return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline ExperimentError& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline ExperimentError& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline ExperimentError& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetCode() const{ return m_code; }
60 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
61 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
62 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
63 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
64 inline ExperimentError& WithCode(const Aws::String& value) { SetCode(value); return *this;}
65 inline ExperimentError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
66 inline ExperimentError& WithCode(const char* value) { SetCode(value); return *this;}
68
70
73 inline const Aws::String& GetLocation() const{ return m_location; }
74 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
75 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
76 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
77 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
78 inline ExperimentError& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
79 inline ExperimentError& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
80 inline ExperimentError& WithLocation(const char* value) { SetLocation(value); return *this;}
82 private:
83
84 Aws::String m_accountId;
85 bool m_accountIdHasBeenSet = false;
86
87 Aws::String m_code;
88 bool m_codeHasBeenSet = false;
89
90 Aws::String m_location;
91 bool m_locationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FIS
96} // namespace Aws
ExperimentError & WithAccountId(const char *value)
void SetAccountId(const char *value)
ExperimentError & WithAccountId(const Aws::String &value)
ExperimentError & WithLocation(Aws::String &&value)
void SetLocation(Aws::String &&value)
AWS_FIS_API ExperimentError(Aws::Utils::Json::JsonView jsonValue)
ExperimentError & WithLocation(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetCode(const char *value)
ExperimentError & WithCode(const char *value)
ExperimentError & WithLocation(const char *value)
const Aws::String & GetLocation() const
ExperimentError & WithAccountId(Aws::String &&value)
AWS_FIS_API ExperimentError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
void SetCode(Aws::String &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentError & WithCode(const Aws::String &value)
ExperimentError & WithCode(Aws::String &&value)
void SetLocation(const char *value)
const Aws::String & GetCode() const
const Aws::String & GetAccountId() const
void SetLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue