AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ServiceSyncBlockerSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/SyncBlocker.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Proton {
22namespace Model {
23
33 public:
34 AWS_PROTON_API ServiceSyncBlockerSummary() = default;
37 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Vector<SyncBlocker>& GetLatestBlockers() const { return m_latestBlockers; }
44 inline bool LatestBlockersHasBeenSet() const { return m_latestBlockersHasBeenSet; }
45 template <typename LatestBlockersT = Aws::Vector<SyncBlocker>>
46 void SetLatestBlockers(LatestBlockersT&& value) {
47 m_latestBlockersHasBeenSet = true;
48 m_latestBlockers = std::forward<LatestBlockersT>(value);
49 }
50 template <typename LatestBlockersT = Aws::Vector<SyncBlocker>>
52 SetLatestBlockers(std::forward<LatestBlockersT>(value));
53 return *this;
54 }
55 template <typename LatestBlockersT = SyncBlocker>
56 ServiceSyncBlockerSummary& AddLatestBlockers(LatestBlockersT&& value) {
57 m_latestBlockersHasBeenSet = true;
58 m_latestBlockers.emplace_back(std::forward<LatestBlockersT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::String& GetServiceInstanceName() const { return m_serviceInstanceName; }
69 inline bool ServiceInstanceNameHasBeenSet() const { return m_serviceInstanceNameHasBeenSet; }
70 template <typename ServiceInstanceNameT = Aws::String>
71 void SetServiceInstanceName(ServiceInstanceNameT&& value) {
72 m_serviceInstanceNameHasBeenSet = true;
73 m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value);
74 }
75 template <typename ServiceInstanceNameT = Aws::String>
76 ServiceSyncBlockerSummary& WithServiceInstanceName(ServiceInstanceNameT&& value) {
77 SetServiceInstanceName(std::forward<ServiceInstanceNameT>(value));
78 return *this;
79 }
81
83
92 inline const Aws::String& GetServiceName() const { return m_serviceName; }
93 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
94 template <typename ServiceNameT = Aws::String>
95 void SetServiceName(ServiceNameT&& value) {
96 m_serviceNameHasBeenSet = true;
97 m_serviceName = std::forward<ServiceNameT>(value);
98 }
99 template <typename ServiceNameT = Aws::String>
101 SetServiceName(std::forward<ServiceNameT>(value));
102 return *this;
103 }
105 private:
106 Aws::Vector<SyncBlocker> m_latestBlockers;
107
108 Aws::String m_serviceInstanceName;
109
110 Aws::String m_serviceName;
111 bool m_latestBlockersHasBeenSet = false;
112 bool m_serviceInstanceNameHasBeenSet = false;
113 bool m_serviceNameHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Proton
118} // 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