AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
AggregateStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/AgentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation {
22namespace Model {
23
30 public:
31 AWS_GROUNDSTATION_API AggregateStatus() = default;
32 AWS_GROUNDSTATION_API AggregateStatus(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API AggregateStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline AgentStatus GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 inline void SetStatus(AgentStatus value) {
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline const Aws::Map<Aws::String, bool>& GetSignatureMap() const { return m_signatureMap; }
57 inline bool SignatureMapHasBeenSet() const { return m_signatureMapHasBeenSet; }
58 template <typename SignatureMapT = Aws::Map<Aws::String, bool>>
59 void SetSignatureMap(SignatureMapT&& value) {
60 m_signatureMapHasBeenSet = true;
61 m_signatureMap = std::forward<SignatureMapT>(value);
62 }
63 template <typename SignatureMapT = Aws::Map<Aws::String, bool>>
64 AggregateStatus& WithSignatureMap(SignatureMapT&& value) {
65 SetSignatureMap(std::forward<SignatureMapT>(value));
66 return *this;
67 }
68 inline AggregateStatus& AddSignatureMap(Aws::String key, bool value) {
69 m_signatureMapHasBeenSet = true;
70 m_signatureMap.emplace(key, value);
71 return *this;
72 }
74 private:
76
77 Aws::Map<Aws::String, bool> m_signatureMap;
78 bool m_statusHasBeenSet = false;
79 bool m_signatureMapHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace GroundStation
84} // namespace Aws
AggregateStatus & AddSignatureMap(Aws::String key, bool value)
const Aws::Map< Aws::String, bool > & GetSignatureMap() const
AWS_GROUNDSTATION_API AggregateStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API AggregateStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateStatus & WithSignatureMap(SignatureMapT &&value)
AggregateStatus & WithStatus(AgentStatus value)
AWS_GROUNDSTATION_API AggregateStatus()=default
void SetSignatureMap(SignatureMapT &&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