AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateSyncConfigRequest.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 "GetTemplateSyncConfig"; }
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 GetTemplateSyncConfigRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
48 inline GetTemplateSyncConfigRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
49 inline GetTemplateSyncConfigRequest& 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 GetTemplateSyncConfigRequest& WithTemplateType(const TemplateType& value) { SetTemplateType(value); return *this;}
61 inline GetTemplateSyncConfigRequest& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_templateName;
66 bool m_templateNameHasBeenSet = false;
67
68 TemplateType m_templateType;
69 bool m_templateTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Proton
74} // namespace Aws
GetTemplateSyncConfigRequest & WithTemplateName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetTemplateSyncConfigRequest & WithTemplateName(const char *value)
GetTemplateSyncConfigRequest & WithTemplateType(TemplateType &&value)
GetTemplateSyncConfigRequest & WithTemplateType(const TemplateType &value)
GetTemplateSyncConfigRequest & WithTemplateName(Aws::String &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PROTON_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