AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetSyncBlockerSummaryRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
8#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
9#include <aws/codestar-connections/model/SyncConfigurationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeStarconnections {
16namespace Model {
17
21 public:
22 AWS_CODESTARCONNECTIONS_API GetSyncBlockerSummaryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetSyncBlockerSummary"; }
29
30 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
31
32 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
39 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
41 m_syncTypeHasBeenSet = true;
42 m_syncType = value;
43 }
45 SetSyncType(value);
46 return *this;
47 }
49
51
55 inline const Aws::String& GetResourceName() const { return m_resourceName; }
56 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
57 template <typename ResourceNameT = Aws::String>
58 void SetResourceName(ResourceNameT&& value) {
59 m_resourceNameHasBeenSet = true;
60 m_resourceName = std::forward<ResourceNameT>(value);
61 }
62 template <typename ResourceNameT = Aws::String>
64 SetResourceName(std::forward<ResourceNameT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_resourceName;
72 bool m_syncTypeHasBeenSet = false;
73 bool m_resourceNameHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CodeStarconnections
78} // namespace Aws
GetSyncBlockerSummaryRequest & WithResourceName(ResourceNameT &&value)
AWS_CODESTARCONNECTIONS_API GetSyncBlockerSummaryRequest()=default
GetSyncBlockerSummaryRequest & WithSyncType(SyncConfigurationType value)
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String