AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSyncConfigurationRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/codestar-connections/model/SyncConfigurationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeStarconnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODESTARCONNECTIONS_API GetSyncConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetSyncConfiguration"; }
32
33 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
44 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
45 inline void SetSyncType(SyncConfigurationType value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
48
50
54 inline const Aws::String& GetResourceName() const { return m_resourceName; }
55 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
56 template<typename ResourceNameT = Aws::String>
57 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
58 template<typename ResourceNameT = Aws::String>
59 GetSyncConfigurationRequest& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
61 private:
62
64 bool m_syncTypeHasBeenSet = false;
65
66 Aws::String m_resourceName;
67 bool m_resourceNameHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CodeStarconnections
72} // 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