AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
45 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
46 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
47 inline GetTemplateSyncStatusRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
48 inline GetTemplateSyncStatusRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
49 inline GetTemplateSyncStatusRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
51
53
56 inline const TemplateType& GetTemplateType() const{ return m_templateType; }
57 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
58 inline void SetTemplateType(const TemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
59 inline void SetTemplateType(TemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
60 inline GetTemplateSyncStatusRequest& WithTemplateType(const TemplateType& value) { SetTemplateType(value); return *this;}
61 inline GetTemplateSyncStatusRequest& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetTemplateVersion() const{ return m_templateVersion; }
69 inline bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; }
70 inline void SetTemplateVersion(const Aws::String& value) { m_templateVersionHasBeenSet = true; m_templateVersion = value; }
71 inline void SetTemplateVersion(Aws::String&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::move(value); }
72 inline void SetTemplateVersion(const char* value) { m_templateVersionHasBeenSet = true; m_templateVersion.assign(value); }
74 inline GetTemplateSyncStatusRequest& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;}
75 inline GetTemplateSyncStatusRequest& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;}
77 private:
78
79 Aws::String m_templateName;
80 bool m_templateNameHasBeenSet = false;
81
82 TemplateType m_templateType;
83 bool m_templateTypeHasBeenSet = false;
84
85 Aws::String m_templateVersion;
86 bool m_templateVersionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Proton
91} // namespace Aws
GetTemplateSyncStatusRequest & WithTemplateName(const char *value)
GetTemplateSyncStatusRequest & WithTemplateName(Aws::String &&value)
GetTemplateSyncStatusRequest & WithTemplateVersion(const char *value)
AWS_PROTON_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetTemplateSyncStatusRequest & WithTemplateType(const TemplateType &value)
GetTemplateSyncStatusRequest & WithTemplateVersion(Aws::String &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTemplateSyncStatusRequest & WithTemplateVersion(const Aws::String &value)
GetTemplateSyncStatusRequest & WithTemplateName(const Aws::String &value)
GetTemplateSyncStatusRequest & WithTemplateType(TemplateType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String