AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTemplateSyncStatusRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/TemplateType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Proton
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PROTON_API GetTemplateSyncStatusRequest() = 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 "GetTemplateSyncStatus"; }
32
33 AWS_PROTON_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetTemplateName() const { return m_templateName; }
43 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
44 template<typename TemplateNameT = Aws::String>
45 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
46 template<typename TemplateNameT = Aws::String>
47 GetTemplateSyncStatusRequest& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
49
51
54 inline TemplateType GetTemplateType() const { return m_templateType; }
55 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
56 inline void SetTemplateType(TemplateType value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
59
61
64 inline const Aws::String& GetTemplateVersion() const { return m_templateVersion; }
65 inline bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; }
66 template<typename TemplateVersionT = Aws::String>
67 void SetTemplateVersion(TemplateVersionT&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::forward<TemplateVersionT>(value); }
68 template<typename TemplateVersionT = Aws::String>
69 GetTemplateSyncStatusRequest& WithTemplateVersion(TemplateVersionT&& value) { SetTemplateVersion(std::forward<TemplateVersionT>(value)); return *this;}
71 private:
72
73 Aws::String m_templateName;
74 bool m_templateNameHasBeenSet = false;
75
76 TemplateType m_templateType{TemplateType::NOT_SET};
77 bool m_templateTypeHasBeenSet = false;
78
79 Aws::String m_templateVersion;
80 bool m_templateVersionHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Proton
85} // namespace Aws
AWS_PROTON_API GetTemplateSyncStatusRequest()=default
AWS_PROTON_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTemplateSyncStatusRequest & WithTemplateType(TemplateType value)
GetTemplateSyncStatusRequest & WithTemplateVersion(TemplateVersionT &&value)
GetTemplateSyncStatusRequest & WithTemplateName(TemplateNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String