AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AggregateStatus.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/groundstation/model/AgentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 GroundStation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GROUNDSTATION_API AggregateStatus() = default;
37 AWS_GROUNDSTATION_API AggregateStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API AggregateStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, bool>& GetSignatureMap() const { return m_signatureMap; }
47 inline bool SignatureMapHasBeenSet() const { return m_signatureMapHasBeenSet; }
48 template<typename SignatureMapT = Aws::Map<Aws::String, bool>>
49 void SetSignatureMap(SignatureMapT&& value) { m_signatureMapHasBeenSet = true; m_signatureMap = std::forward<SignatureMapT>(value); }
50 template<typename SignatureMapT = Aws::Map<Aws::String, bool>>
51 AggregateStatus& WithSignatureMap(SignatureMapT&& value) { SetSignatureMap(std::forward<SignatureMapT>(value)); return *this;}
52 inline AggregateStatus& AddSignatureMap(Aws::String key, bool value) {
53 m_signatureMapHasBeenSet = true; m_signatureMap.emplace(key, value); return *this;
54 }
56
58
61 inline AgentStatus GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(AgentStatus value) { m_statusHasBeenSet = true; m_status = value; }
64 inline AggregateStatus& WithStatus(AgentStatus value) { SetStatus(value); return *this;}
66 private:
67
68 Aws::Map<Aws::String, bool> m_signatureMap;
69 bool m_signatureMapHasBeenSet = false;
70
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GroundStation
77} // 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