AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
49 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
50 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
51 inline SyncBlockerSummary& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
52 inline SyncBlockerSummary& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
53 inline SyncBlockerSummary& WithResourceName(const char* value) { SetResourceName(value); return *this;}
55
57
60 inline const Aws::String& GetParentResourceName() const{ return m_parentResourceName; }
61 inline bool ParentResourceNameHasBeenSet() const { return m_parentResourceNameHasBeenSet; }
62 inline void SetParentResourceName(const Aws::String& value) { m_parentResourceNameHasBeenSet = true; m_parentResourceName = value; }
63 inline void SetParentResourceName(Aws::String&& value) { m_parentResourceNameHasBeenSet = true; m_parentResourceName = std::move(value); }
64 inline void SetParentResourceName(const char* value) { m_parentResourceNameHasBeenSet = true; m_parentResourceName.assign(value); }
65 inline SyncBlockerSummary& WithParentResourceName(const Aws::String& value) { SetParentResourceName(value); return *this;}
66 inline SyncBlockerSummary& WithParentResourceName(Aws::String&& value) { SetParentResourceName(std::move(value)); return *this;}
67 inline SyncBlockerSummary& WithParentResourceName(const char* value) { SetParentResourceName(value); return *this;}
69
71
74 inline const Aws::Vector<SyncBlocker>& GetLatestBlockers() const{ return m_latestBlockers; }
75 inline bool LatestBlockersHasBeenSet() const { return m_latestBlockersHasBeenSet; }
76 inline void SetLatestBlockers(const Aws::Vector<SyncBlocker>& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = value; }
77 inline void SetLatestBlockers(Aws::Vector<SyncBlocker>&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers = std::move(value); }
79 inline SyncBlockerSummary& WithLatestBlockers(Aws::Vector<SyncBlocker>&& value) { SetLatestBlockers(std::move(value)); return *this;}
80 inline SyncBlockerSummary& AddLatestBlockers(const SyncBlocker& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(value); return *this; }
81 inline SyncBlockerSummary& AddLatestBlockers(SyncBlocker&& value) { m_latestBlockersHasBeenSet = true; m_latestBlockers.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::String m_resourceName;
86 bool m_resourceNameHasBeenSet = false;
87
88 Aws::String m_parentResourceName;
89 bool m_parentResourceNameHasBeenSet = false;
90
91 Aws::Vector<SyncBlocker> m_latestBlockers;
92 bool m_latestBlockersHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodeStarconnections
97} // namespace Aws
SyncBlockerSummary & WithResourceName(Aws::String &&value)
SyncBlockerSummary & AddLatestBlockers(const SyncBlocker &value)
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary()
SyncBlockerSummary & WithResourceName(const char *value)
SyncBlockerSummary & WithParentResourceName(Aws::String &&value)
SyncBlockerSummary & WithParentResourceName(const Aws::String &value)
SyncBlockerSummary & WithLatestBlockers(const Aws::Vector< SyncBlocker > &value)
SyncBlockerSummary & WithResourceName(const Aws::String &value)
SyncBlockerSummary & WithParentResourceName(const char *value)
const Aws::Vector< SyncBlocker > & GetLatestBlockers() const
void SetLatestBlockers(const Aws::Vector< SyncBlocker > &value)
SyncBlockerSummary & WithLatestBlockers(Aws::Vector< SyncBlocker > &&value)
SyncBlockerSummary & AddLatestBlockers(SyncBlocker &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODESTARCONNECTIONS_API SyncBlockerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLatestBlockers(Aws::Vector< SyncBlocker > &&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