AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateServiceTemplateRequest.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 <utility>
11
12namespace Aws
13{
14namespace Proton
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PROTON_API UpdateServiceTemplateRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceTemplate"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 UpdateServiceTemplateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDisplayName() const { return m_displayName; }
55 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
56 template<typename DisplayNameT = Aws::String>
57 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
58 template<typename DisplayNameT = Aws::String>
59 UpdateServiceTemplateRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateServiceTemplateRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73 private:
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77
78 Aws::String m_displayName;
79 bool m_displayNameHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Proton
87} // namespace Aws
UpdateServiceTemplateRequest & WithDescription(DescriptionT &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_PROTON_API UpdateServiceTemplateRequest()=default
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateServiceTemplateRequest & WithDisplayName(DisplayNameT &&value)
UpdateServiceTemplateRequest & WithName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String