AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSignatureMap(const Aws::Map<Aws::String, bool>& value) { m_signatureMapHasBeenSet = true; m_signatureMap = value; }
49 inline void SetSignatureMap(Aws::Map<Aws::String, bool>&& value) { m_signatureMapHasBeenSet = true; m_signatureMap = std::move(value); }
50 inline AggregateStatus& WithSignatureMap(const Aws::Map<Aws::String, bool>& value) { SetSignatureMap(value); return *this;}
51 inline AggregateStatus& WithSignatureMap(Aws::Map<Aws::String, bool>&& value) { SetSignatureMap(std::move(value)); return *this;}
52 inline AggregateStatus& AddSignatureMap(const Aws::String& key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(key, value); return *this; }
53 inline AggregateStatus& AddSignatureMap(Aws::String&& key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(std::move(key), value); return *this; }
54 inline AggregateStatus& AddSignatureMap(const char* key, bool value) { m_signatureMapHasBeenSet = true; m_signatureMap.emplace(key, value); return *this; }
56
58
61 inline const AgentStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const AgentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(AgentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline AggregateStatus& WithStatus(const AgentStatus& value) { SetStatus(value); return *this;}
66 inline AggregateStatus& WithStatus(AgentStatus&& value) { SetStatus(std::move(value)); return *this;}
68 private:
69
70 Aws::Map<Aws::String, bool> m_signatureMap;
71 bool m_signatureMapHasBeenSet = false;
72
73 AgentStatus m_status;
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GroundStation
79} // namespace Aws
AggregateStatus & WithStatus(AgentStatus &&value)
const Aws::Map< Aws::String, bool > & GetSignatureMap() const
AWS_GROUNDSTATION_API AggregateStatus(Aws::Utils::Json::JsonView jsonValue)
AggregateStatus & WithSignatureMap(Aws::Map< Aws::String, bool > &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AggregateStatus & WithStatus(const AgentStatus &value)
AWS_GROUNDSTATION_API AggregateStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateStatus & AddSignatureMap(const char *key, bool value)
AggregateStatus & AddSignatureMap(Aws::String &&key, bool value)
void SetStatus(const AgentStatus &value)
AggregateStatus & AddSignatureMap(const Aws::String &key, bool value)
void SetSignatureMap(const Aws::Map< Aws::String, bool > &value)
void SetSignatureMap(Aws::Map< Aws::String, bool > &&value)
AggregateStatus & WithSignatureMap(const Aws::Map< Aws::String, bool > &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