AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LatestBlockersT = Aws::Vector<SyncBlocker>>
52 void SetLatestBlockers(LatestBlockersT&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = std::forward<LatestBlockersT>(value); }
53 template<typename LatestBlockersT = Aws::Vector<SyncBlocker>>
54 ServiceSyncBlockerSummary& WithLatestBlockers(LatestBlockersT&& value) { SetLatestBlockers(std::forward<LatestBlockersT>(value)); return *this;}
55 template<typename LatestBlockersT = SyncBlocker>
56 ServiceSyncBlockerSummary& AddLatestBlockers(LatestBlockersT&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.emplace_back(std::forward<LatestBlockersT>(value)); return *this; }
58
60
64 inline const Aws::String& GetServiceInstanceName() const { return m_serviceInstanceName; }
65 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
66 template<typename ServiceInstanceNameT = Aws::String>
67 void SetServiceInstanceName(ServiceInstanceNameT&& value) { m_serviceInstanceNameHasBeenSet = true; m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value); }
68 template<typename ServiceInstanceNameT = Aws::String>
69 ServiceSyncBlockerSummary& WithServiceInstanceName(ServiceInstanceNameT&& value) { SetServiceInstanceName(std::forward<ServiceInstanceNameT>(value)); return *this;}
71
73
82 inline const Aws::String& GetServiceName() const { return m_serviceName; }
83 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
84 template<typename ServiceNameT = Aws::String>
85 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
86 template<typename ServiceNameT = Aws::String>
87 ServiceSyncBlockerSummary& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
89 private:
90
91 Aws::Vector<SyncBlocker> m_latestBlockers;
92 bool m_latestBlockersHasBeenSet = false;
93
94 Aws::String m_serviceInstanceName;
95 bool m_serviceInstanceNameHasBeenSet = false;
96
97 Aws::String m_serviceName;
98 bool m_serviceNameHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Proton
103} // namespace Aws
const Aws::Vector< SyncBlocker > & GetLatestBlockers() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API ServiceSyncBlockerSummary()=default
ServiceSyncBlockerSummary & AddLatestBlockers(LatestBlockersT &&value)
ServiceSyncBlockerSummary & WithServiceInstanceName(ServiceInstanceNameT &&value)
AWS_PROTON_API ServiceSyncBlockerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetServiceInstanceName(ServiceInstanceNameT &&value)
ServiceSyncBlockerSummary & WithServiceName(ServiceNameT &&value)
AWS_PROTON_API ServiceSyncBlockerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSyncBlockerSummary & WithLatestBlockers(LatestBlockersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue