AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateServiceRequest.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 UpdateServiceRequest() = 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 "UpdateService"; }
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 UpdateServiceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateServiceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
70 inline const Aws::String& GetSpec() const { return m_spec; }
71 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
72 template<typename SpecT = Aws::String>
73 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
74 template<typename SpecT = Aws::String>
75 UpdateServiceRequest& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
77 private:
78
79 Aws::String m_description;
80 bool m_descriptionHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_spec;
86 bool m_specHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Proton
91} // namespace Aws
UpdateServiceRequest & WithName(NameT &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceRequest & WithSpec(SpecT &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_PROTON_API UpdateServiceRequest()=default
UpdateServiceRequest & WithDescription(DescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String