AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
DescribeSeverityLevelsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/support/Support_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Support {
15namespace Model {
16
20 public:
21 AWS_SUPPORT_API DescribeSeverityLevelsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeSeverityLevels"; }
28
29 AWS_SUPPORT_API Aws::String SerializePayload() const override;
30
32
34
41 inline const Aws::String& GetLanguage() const { return m_language; }
42 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
43 template <typename LanguageT = Aws::String>
44 void SetLanguage(LanguageT&& value) {
45 m_languageHasBeenSet = true;
46 m_language = std::forward<LanguageT>(value);
47 }
48 template <typename LanguageT = Aws::String>
50 SetLanguage(std::forward<LanguageT>(value));
51 return *this;
52 }
54
56
63 inline bool GetDryRun() const { return m_dryRun; }
64 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
65 inline void SetDryRun(bool value) {
66 m_dryRunHasBeenSet = true;
67 m_dryRun = value;
68 }
70 SetDryRun(value);
71 return *this;
72 }
74 private:
75 Aws::String m_language;
76
77 bool m_dryRun{false};
78 bool m_languageHasBeenSet = false;
79 bool m_dryRunHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Support
84} // namespace Aws
DescribeSeverityLevelsRequest & WithDryRun(bool value)
AWS_SUPPORT_API DescribeSeverityLevelsRequest()=default
DescribeSeverityLevelsRequest & WithLanguage(LanguageT &&value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SUPPORT_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