AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetSyncConfigurationRequest.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 GetSyncConfigurationRequest() = 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 "GetSyncConfiguration"; }
29
30 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
31
32 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
40 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
42 m_syncTypeHasBeenSet = true;
43 m_syncType = value;
44 }
46 SetSyncType(value);
47 return *this;
48 }
50
52
56 inline const Aws::String& GetResourceName() const { return m_resourceName; }
57 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
58 template <typename ResourceNameT = Aws::String>
59 void SetResourceName(ResourceNameT&& value) {
60 m_resourceNameHasBeenSet = true;
61 m_resourceName = std::forward<ResourceNameT>(value);
62 }
63 template <typename ResourceNameT = Aws::String>
65 SetResourceName(std::forward<ResourceNameT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_resourceName;
73 bool m_syncTypeHasBeenSet = false;
74 bool m_resourceNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CodeStarconnections
79} // namespace Aws
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
GetSyncConfigurationRequest & WithSyncType(SyncConfigurationType value)
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSyncConfigurationRequest & WithResourceName(ResourceNameT &&value)
AWS_CODESTARCONNECTIONS_API GetSyncConfigurationRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String