AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationOverview.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
33 {
34 public:
35 AWS_SSM_API AssociationOverview();
39
40
42
46 inline const Aws::String& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
51 inline AssociationOverview& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
52 inline AssociationOverview& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
53 inline AssociationOverview& WithStatus(const char* value) { SetStatus(value); return *this;}
55
57
60 inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; }
61 inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; }
62 inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; }
63 inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); }
64 inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); }
65 inline AssociationOverview& WithDetailedStatus(const Aws::String& value) { SetDetailedStatus(value); return *this;}
66 inline AssociationOverview& WithDetailedStatus(Aws::String&& value) { SetDetailedStatus(std::move(value)); return *this;}
67 inline AssociationOverview& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;}
69
71
76 inline const Aws::Map<Aws::String, int>& GetAssociationStatusAggregatedCount() const{ return m_associationStatusAggregatedCount; }
77 inline bool AssociationStatusAggregatedCountHasBeenSet() const { return m_associationStatusAggregatedCountHasBeenSet; }
78 inline void SetAssociationStatusAggregatedCount(const Aws::Map<Aws::String, int>& value) { m_associationStatusAggregatedCountHasBeenSet = true; m_associationStatusAggregatedCount = value; }
79 inline void SetAssociationStatusAggregatedCount(Aws::Map<Aws::String, int>&& value) { m_associationStatusAggregatedCountHasBeenSet = true; m_associationStatusAggregatedCount = std::move(value); }
82 inline AssociationOverview& AddAssociationStatusAggregatedCount(const Aws::String& key, int value) { m_associationStatusAggregatedCountHasBeenSet = true; m_associationStatusAggregatedCount.emplace(key, value); return *this; }
83 inline AssociationOverview& AddAssociationStatusAggregatedCount(Aws::String&& key, int value) { m_associationStatusAggregatedCountHasBeenSet = true; m_associationStatusAggregatedCount.emplace(std::move(key), value); return *this; }
84 inline AssociationOverview& AddAssociationStatusAggregatedCount(const char* key, int value) { m_associationStatusAggregatedCountHasBeenSet = true; m_associationStatusAggregatedCount.emplace(key, value); return *this; }
86 private:
87
88 Aws::String m_status;
89 bool m_statusHasBeenSet = false;
90
91 Aws::String m_detailedStatus;
92 bool m_detailedStatusHasBeenSet = false;
93
94 Aws::Map<Aws::String, int> m_associationStatusAggregatedCount;
95 bool m_associationStatusAggregatedCountHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SSM
100} // namespace Aws
AWS_SSM_API AssociationOverview(Aws::Utils::Json::JsonView jsonValue)
AssociationOverview & AddAssociationStatusAggregatedCount(Aws::String &&key, int value)
void SetDetailedStatus(Aws::String &&value)
AssociationOverview & WithStatus(Aws::String &&value)
void SetAssociationStatusAggregatedCount(Aws::Map< Aws::String, int > &&value)
AssociationOverview & WithAssociationStatusAggregatedCount(Aws::Map< Aws::String, int > &&value)
AWS_SSM_API AssociationOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDetailedStatus() const
AssociationOverview & WithDetailedStatus(const char *value)
AssociationOverview & WithStatus(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, int > & GetAssociationStatusAggregatedCount() const
AssociationOverview & AddAssociationStatusAggregatedCount(const Aws::String &key, int value)
AssociationOverview & WithStatus(const Aws::String &value)
AssociationOverview & WithAssociationStatusAggregatedCount(const Aws::Map< Aws::String, int > &value)
void SetStatus(const Aws::String &value)
AssociationOverview & WithDetailedStatus(Aws::String &&value)
void SetDetailedStatus(const Aws::String &value)
const Aws::String & GetStatus() const
AssociationOverview & AddAssociationStatusAggregatedCount(const char *key, int value)
AssociationOverview & WithDetailedStatus(const Aws::String &value)
void SetAssociationStatusAggregatedCount(const Aws::Map< Aws::String, int > &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