AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceSyncBlockerSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/SyncBlocker.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 Proton
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_PROTON_API ServiceSyncBlockerSummary();
42 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<SyncBlocker>& GetLatestBlockers() const{ return m_latestBlockers; }
50 inline bool LatestBlockersHasBeenSet() const { return m_latestBlockersHasBeenSet; }
51 inline void SetLatestBlockers(const Aws::Vector<SyncBlocker>& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = value; }
52 inline void SetLatestBlockers(Aws::Vector<SyncBlocker>&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = std::move(value); }
55 inline ServiceSyncBlockerSummary& AddLatestBlockers(const SyncBlocker& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(value); return *this; }
56 inline ServiceSyncBlockerSummary& AddLatestBlockers(SyncBlocker&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::String& GetServiceInstanceName() const{ return m_serviceInstanceName; }
65 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
66 inline void SetServiceInstanceName(const Aws::String& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = value; }
67 inline void SetServiceInstanceName(Aws::String&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::move(value); }
68 inline void SetServiceInstanceName(const char* value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName.assign(value); }
70 inline ServiceSyncBlockerSummary& WithServiceInstanceName(Aws::String&& value) { SetServiceInstanceName(std::move(value)); return *this;}
71 inline ServiceSyncBlockerSummary& WithServiceInstanceName(const char* value) { SetServiceInstanceName(value); return *this;}
73
75
84 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
85 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
86 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
87 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
88 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
89 inline ServiceSyncBlockerSummary& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
90 inline ServiceSyncBlockerSummary& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
91 inline ServiceSyncBlockerSummary& WithServiceName(const char* value) { SetServiceName(value); return *this;}
93 private:
94
95 Aws::Vector<SyncBlocker> m_latestBlockers;
96 bool m_latestBlockersHasBeenSet = false;
97
98 Aws::String m_serviceInstanceName;
99 bool m_serviceInstanceNameHasBeenSet = false;
100
101 Aws::String m_serviceName;
102 bool m_serviceNameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Proton
107} // namespace Aws
ServiceSyncBlockerSummary & WithServiceInstanceName(const char *value)
void SetLatestBlockers(Aws::Vector< SyncBlocker > &&value)
ServiceSyncBlockerSummary & WithLatestBlockers(Aws::Vector< SyncBlocker > &&value)
const Aws::Vector< SyncBlocker > & GetLatestBlockers() const
ServiceSyncBlockerSummary & WithLatestBlockers(const Aws::Vector< SyncBlocker > &value)
ServiceSyncBlockerSummary & WithServiceInstanceName(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceSyncBlockerSummary & AddLatestBlockers(const SyncBlocker &value)
AWS_PROTON_API ServiceSyncBlockerSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceSyncBlockerSummary & AddLatestBlockers(SyncBlocker &&value)
void SetLatestBlockers(const Aws::Vector< SyncBlocker > &value)
ServiceSyncBlockerSummary & WithServiceName(const char *value)
ServiceSyncBlockerSummary & WithServiceInstanceName(const Aws::String &value)
ServiceSyncBlockerSummary & WithServiceName(Aws::String &&value)
ServiceSyncBlockerSummary & WithServiceName(const Aws::String &value)
AWS_PROTON_API ServiceSyncBlockerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue