AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteAnalysisCompletion.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/RouteAnalysisCompletionResultCode.h>
9#include <aws/networkmanager/model/RouteAnalysisCompletionReasonCode.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace NetworkManager
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_NETWORKMANAGER_API RouteAnalysisCompletion();
39 AWS_NETWORKMANAGER_API RouteAnalysisCompletion(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const RouteAnalysisCompletionResultCode& GetResultCode() const{ return m_resultCode; }
50 inline bool ResultCodeHasBeenSet() const { return m_resultCodeHasBeenSet; }
51 inline void SetResultCode(const RouteAnalysisCompletionResultCode& value) { m_resultCodeHasBeenSet = true; m_resultCode = value; }
52 inline void SetResultCode(RouteAnalysisCompletionResultCode&& value) { m_resultCodeHasBeenSet = true; m_resultCode = std::move(value); }
56
58
76 inline const RouteAnalysisCompletionReasonCode& GetReasonCode() const{ return m_reasonCode; }
77 inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; }
78 inline void SetReasonCode(const RouteAnalysisCompletionReasonCode& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = value; }
79 inline void SetReasonCode(RouteAnalysisCompletionReasonCode&& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = std::move(value); }
83
85
89 inline const Aws::Map<Aws::String, Aws::String>& GetReasonContext() const{ return m_reasonContext; }
90 inline bool ReasonContextHasBeenSet() const { return m_reasonContextHasBeenSet; }
91 inline void SetReasonContext(const Aws::Map<Aws::String, Aws::String>& value) { m_reasonContextHasBeenSet = true; m_reasonContext = value; }
92 inline void SetReasonContext(Aws::Map<Aws::String, Aws::String>&& value) { m_reasonContextHasBeenSet = true; m_reasonContext = std::move(value); }
95 inline RouteAnalysisCompletion& AddReasonContext(const Aws::String& key, const Aws::String& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, value); return *this; }
96 inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, const Aws::String& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), value); return *this; }
97 inline RouteAnalysisCompletion& AddReasonContext(const Aws::String& key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, std::move(value)); return *this; }
98 inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), std::move(value)); return *this; }
99 inline RouteAnalysisCompletion& AddReasonContext(const char* key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, std::move(value)); return *this; }
100 inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, const char* value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), value); return *this; }
101 inline RouteAnalysisCompletion& AddReasonContext(const char* key, const char* value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, value); return *this; }
103 private:
104
106 bool m_resultCodeHasBeenSet = false;
107
109 bool m_reasonCodeHasBeenSet = false;
110
112 bool m_reasonContextHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace NetworkManager
117} // namespace Aws
void SetResultCode(const RouteAnalysisCompletionResultCode &value)
const RouteAnalysisCompletionReasonCode & GetReasonCode() const
AWS_NETWORKMANAGER_API RouteAnalysisCompletion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReasonContext(Aws::Map< Aws::String, Aws::String > &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReasonCode(const RouteAnalysisCompletionReasonCode &value)
RouteAnalysisCompletion & AddReasonContext(const char *key, Aws::String &&value)
RouteAnalysisCompletion & AddReasonContext(const Aws::String &key, Aws::String &&value)
void SetResultCode(RouteAnalysisCompletionResultCode &&value)
RouteAnalysisCompletion & AddReasonContext(const Aws::String &key, const Aws::String &value)
RouteAnalysisCompletion & WithReasonContext(const Aws::Map< Aws::String, Aws::String > &value)
RouteAnalysisCompletion & AddReasonContext(Aws::String &&key, Aws::String &&value)
RouteAnalysisCompletion & AddReasonContext(Aws::String &&key, const Aws::String &value)
AWS_NETWORKMANAGER_API RouteAnalysisCompletion(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysisCompletion & WithResultCode(RouteAnalysisCompletionResultCode &&value)
const Aws::Map< Aws::String, Aws::String > & GetReasonContext() const
const RouteAnalysisCompletionResultCode & GetResultCode() const
void SetReasonCode(RouteAnalysisCompletionReasonCode &&value)
void SetReasonContext(const Aws::Map< Aws::String, Aws::String > &value)
RouteAnalysisCompletion & WithReasonCode(RouteAnalysisCompletionReasonCode &&value)
RouteAnalysisCompletion & WithResultCode(const RouteAnalysisCompletionResultCode &value)
RouteAnalysisCompletion & WithReasonCode(const RouteAnalysisCompletionReasonCode &value)
RouteAnalysisCompletion & AddReasonContext(Aws::String &&key, const char *value)
RouteAnalysisCompletion & AddReasonContext(const char *key, const char *value)
RouteAnalysisCompletion & WithReasonContext(Aws::Map< Aws::String, Aws::String > &&value)
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
Aws::Utils::Json::JsonValue JsonValue