AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SyncBlockerSummary.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codestar-connections/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 CodeStarconnections
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CODESTARCONNECTIONS_API SyncBlockerSummary() = default;
37 AWS_CODESTARCONNECTIONS_API SyncBlockerSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODESTARCONNECTIONS_API SyncBlockerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetResourceName() const { return m_resourceName; }
47 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
48 template<typename ResourceNameT = Aws::String>
49 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
50 template<typename ResourceNameT = Aws::String>
51 SyncBlockerSummary& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetParentResourceName() const { return m_parentResourceName; }
59 inline bool ParentResourceNameHasBeenSet() const { return m_parentResourceNameHasBeenSet; }
60 template<typename ParentResourceNameT = Aws::String>
61 void SetParentResourceName(ParentResourceNameT&& value) { m_parentResourceNameHasBeenSet = true; m_parentResourceName = std::forward<ParentResourceNameT>(value); }
62 template<typename ParentResourceNameT = Aws::String>
63 SyncBlockerSummary& WithParentResourceName(ParentResourceNameT&& value) { SetParentResourceName(std::forward<ParentResourceNameT>(value)); return *this;}
65
67
70 inline const Aws::Vector<SyncBlocker>& GetLatestBlockers() const { return m_latestBlockers; }
71 inline bool LatestBlockersHasBeenSet() const { return m_latestBlockersHasBeenSet; }
72 template<typename LatestBlockersT = Aws::Vector<SyncBlocker>>
73 void SetLatestBlockers(LatestBlockersT&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = std::forward<LatestBlockersT>(value); }
74 template<typename LatestBlockersT = Aws::Vector<SyncBlocker>>
75 SyncBlockerSummary& WithLatestBlockers(LatestBlockersT&& value) { SetLatestBlockers(std::forward<LatestBlockersT>(value)); return *this;}
76 template<typename LatestBlockersT = SyncBlocker>
77 SyncBlockerSummary& AddLatestBlockers(LatestBlockersT&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.emplace_back(std::forward<LatestBlockersT>(value)); return *this; }
79 private:
80
81 Aws::String m_resourceName;
82 bool m_resourceNameHasBeenSet = false;
83
84 Aws::String m_parentResourceName;
85 bool m_parentResourceNameHasBeenSet = false;
86
87 Aws::Vector<SyncBlocker> m_latestBlockers;
88 bool m_latestBlockersHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodeStarconnections
93} // namespace Aws
void SetParentResourceName(ParentResourceNameT &&value)
SyncBlockerSummary & AddLatestBlockers(LatestBlockersT &&value)
SyncBlockerSummary & WithResourceName(ResourceNameT &&value)
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SyncBlockerSummary & WithLatestBlockers(LatestBlockersT &&value)
SyncBlockerSummary & WithParentResourceName(ParentResourceNameT &&value)
const Aws::Vector< SyncBlocker > & GetLatestBlockers() const
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary()=default
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary(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