AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceAggregatedAssociationOverview.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; }
47 inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; }
48 inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; }
49 inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); }
50 inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); }
53 inline InstanceAggregatedAssociationOverview& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;}
55
57
60 inline const Aws::Map<Aws::String, int>& GetInstanceAssociationStatusAggregatedCount() const{ return m_instanceAssociationStatusAggregatedCount; }
61 inline bool InstanceAssociationStatusAggregatedCountHasBeenSet() const { return m_instanceAssociationStatusAggregatedCountHasBeenSet; }
62 inline void SetInstanceAssociationStatusAggregatedCount(const Aws::Map<Aws::String, int>& value) { m_instanceAssociationStatusAggregatedCountHasBeenSet = true; m_instanceAssociationStatusAggregatedCount = value; }
63 inline void SetInstanceAssociationStatusAggregatedCount(Aws::Map<Aws::String, int>&& value) { m_instanceAssociationStatusAggregatedCountHasBeenSet = true; m_instanceAssociationStatusAggregatedCount = std::move(value); }
66 inline InstanceAggregatedAssociationOverview& AddInstanceAssociationStatusAggregatedCount(const Aws::String& key, int value) { m_instanceAssociationStatusAggregatedCountHasBeenSet = true; m_instanceAssociationStatusAggregatedCount.emplace(key, value); return *this; }
67 inline InstanceAggregatedAssociationOverview& AddInstanceAssociationStatusAggregatedCount(Aws::String&& key, int value) { m_instanceAssociationStatusAggregatedCountHasBeenSet = true; m_instanceAssociationStatusAggregatedCount.emplace(std::move(key), value); return *this; }
68 inline InstanceAggregatedAssociationOverview& AddInstanceAssociationStatusAggregatedCount(const char* key, int value) { m_instanceAssociationStatusAggregatedCountHasBeenSet = true; m_instanceAssociationStatusAggregatedCount.emplace(key, value); return *this; }
70 private:
71
72 Aws::String m_detailedStatus;
73 bool m_detailedStatusHasBeenSet = false;
74
75 Aws::Map<Aws::String, int> m_instanceAssociationStatusAggregatedCount;
76 bool m_instanceAssociationStatusAggregatedCountHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SSM
81} // namespace Aws
AWS_SSM_API InstanceAggregatedAssociationOverview(Aws::Utils::Json::JsonView jsonValue)
InstanceAggregatedAssociationOverview & WithInstanceAssociationStatusAggregatedCount(const Aws::Map< Aws::String, int > &value)
void SetInstanceAssociationStatusAggregatedCount(const Aws::Map< Aws::String, int > &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceAggregatedAssociationOverview & WithDetailedStatus(Aws::String &&value)
InstanceAggregatedAssociationOverview & WithInstanceAssociationStatusAggregatedCount(Aws::Map< Aws::String, int > &&value)
InstanceAggregatedAssociationOverview & AddInstanceAssociationStatusAggregatedCount(Aws::String &&key, int value)
InstanceAggregatedAssociationOverview & AddInstanceAssociationStatusAggregatedCount(const char *key, int value)
void SetInstanceAssociationStatusAggregatedCount(Aws::Map< Aws::String, int > &&value)
InstanceAggregatedAssociationOverview & AddInstanceAssociationStatusAggregatedCount(const Aws::String &key, int value)
const Aws::Map< Aws::String, int > & GetInstanceAssociationStatusAggregatedCount() const
InstanceAggregatedAssociationOverview & WithDetailedStatus(const Aws::String &value)
AWS_SSM_API InstanceAggregatedAssociationOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceAggregatedAssociationOverview & WithDetailedStatus(const char *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