AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailureDetails.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API FailureDetails();
40
41
43
48 inline const Aws::String& GetFailureStage() const{ return m_failureStage; }
49 inline bool FailureStageHasBeenSet() const { return m_failureStageHasBeenSet; }
50 inline void SetFailureStage(const Aws::String& value) { m_failureStageHasBeenSet = true; m_failureStage = value; }
51 inline void SetFailureStage(Aws::String&& value) { m_failureStageHasBeenSet = true; m_failureStage = std::move(value); }
52 inline void SetFailureStage(const char* value) { m_failureStageHasBeenSet = true; m_failureStage.assign(value); }
53 inline FailureDetails& WithFailureStage(const Aws::String& value) { SetFailureStage(value); return *this;}
54 inline FailureDetails& WithFailureStage(Aws::String&& value) { SetFailureStage(std::move(value)); return *this;}
55 inline FailureDetails& WithFailureStage(const char* value) { SetFailureStage(value); return *this;}
57
59
63 inline const Aws::String& GetFailureType() const{ return m_failureType; }
64 inline bool FailureTypeHasBeenSet() const { return m_failureTypeHasBeenSet; }
65 inline void SetFailureType(const Aws::String& value) { m_failureTypeHasBeenSet = true; m_failureType = value; }
66 inline void SetFailureType(Aws::String&& value) { m_failureTypeHasBeenSet = true; m_failureType = std::move(value); }
67 inline void SetFailureType(const char* value) { m_failureTypeHasBeenSet = true; m_failureType.assign(value); }
68 inline FailureDetails& WithFailureType(const Aws::String& value) { SetFailureType(value); return *this;}
69 inline FailureDetails& WithFailureType(Aws::String&& value) { SetFailureType(std::move(value)); return *this;}
70 inline FailureDetails& WithFailureType(const char* value) { SetFailureType(value); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetDetails() const{ return m_details; }
78 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
79 inline void SetDetails(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_detailsHasBeenSet = true; m_details = value; }
80 inline void SetDetails(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
81 inline FailureDetails& WithDetails(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetDetails(value); return *this;}
82 inline FailureDetails& WithDetails(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetDetails(std::move(value)); return *this;}
83 inline FailureDetails& AddDetails(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_detailsHasBeenSet = true; m_details.emplace(key, value); return *this; }
84 inline FailureDetails& AddDetails(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_detailsHasBeenSet = true; m_details.emplace(std::move(key), value); return *this; }
85 inline FailureDetails& AddDetails(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_detailsHasBeenSet = true; m_details.emplace(key, std::move(value)); return *this; }
86 inline FailureDetails& AddDetails(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_detailsHasBeenSet = true; m_details.emplace(std::move(key), std::move(value)); return *this; }
87 inline FailureDetails& AddDetails(const char* key, Aws::Vector<Aws::String>&& value) { m_detailsHasBeenSet = true; m_details.emplace(key, std::move(value)); return *this; }
88 inline FailureDetails& AddDetails(const char* key, const Aws::Vector<Aws::String>& value) { m_detailsHasBeenSet = true; m_details.emplace(key, value); return *this; }
90 private:
91
92 Aws::String m_failureStage;
93 bool m_failureStageHasBeenSet = false;
94
95 Aws::String m_failureType;
96 bool m_failureTypeHasBeenSet = false;
97
99 bool m_detailsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SSM
104} // namespace Aws
void SetFailureType(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetDetails() const
FailureDetails & AddDetails(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetFailureType() const
FailureDetails & AddDetails(const Aws::String &key, Aws::Vector< Aws::String > &&value)
FailureDetails & WithFailureType(const Aws::String &value)
FailureDetails & AddDetails(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_SSM_API FailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
FailureDetails & WithFailureStage(const Aws::String &value)
void SetFailureStage(const char *value)
void SetDetails(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Aws::String & GetFailureStage() const
void SetFailureStage(Aws::String &&value)
FailureDetails & AddDetails(Aws::String &&key, Aws::Vector< Aws::String > &&value)
FailureDetails & WithFailureType(const char *value)
void SetFailureType(const char *value)
FailureDetails & WithFailureStage(Aws::String &&value)
void SetFailureType(Aws::String &&value)
FailureDetails & WithFailureType(Aws::String &&value)
void SetFailureStage(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
FailureDetails & WithDetails(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
FailureDetails & AddDetails(const char *key, const Aws::Vector< Aws::String > &value)
FailureDetails & WithFailureStage(const char *value)
FailureDetails & WithDetails(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
FailureDetails & AddDetails(const char *key, Aws::Vector< Aws::String > &&value)
void SetDetails(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AWS_SSM_API FailureDetails(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue