AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeCreateCaseOptionsRequest.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Support
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SUPPORT_API DescribeCreateCaseOptionsRequest() = 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 "DescribeCreateCaseOptions"; }
31
32 AWS_SUPPORT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetIssueType() const { return m_issueType; }
44 inline bool IssueTypeHasBeenSet() const { return m_issueTypeHasBeenSet; }
45 template<typename IssueTypeT = Aws::String>
46 void SetIssueType(IssueTypeT&& value) { m_issueTypeHasBeenSet = true; m_issueType = std::forward<IssueTypeT>(value); }
47 template<typename IssueTypeT = Aws::String>
48 DescribeCreateCaseOptionsRequest& WithIssueType(IssueTypeT&& value) { SetIssueType(std::forward<IssueTypeT>(value)); return *this;}
50
52
57 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
58 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
59 template<typename ServiceCodeT = Aws::String>
60 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
61 template<typename ServiceCodeT = Aws::String>
62 DescribeCreateCaseOptionsRequest& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
64
66
72 inline const Aws::String& GetLanguage() const { return m_language; }
73 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
74 template<typename LanguageT = Aws::String>
75 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
76 template<typename LanguageT = Aws::String>
77 DescribeCreateCaseOptionsRequest& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
79
81
86 inline const Aws::String& GetCategoryCode() const { return m_categoryCode; }
87 inline bool CategoryCodeHasBeenSet() const { return m_categoryCodeHasBeenSet; }
88 template<typename CategoryCodeT = Aws::String>
89 void SetCategoryCode(CategoryCodeT&& value) { m_categoryCodeHasBeenSet = true; m_categoryCode = std::forward<CategoryCodeT>(value); }
90 template<typename CategoryCodeT = Aws::String>
91 DescribeCreateCaseOptionsRequest& WithCategoryCode(CategoryCodeT&& value) { SetCategoryCode(std::forward<CategoryCodeT>(value)); return *this;}
93 private:
94
95 Aws::String m_issueType;
96 bool m_issueTypeHasBeenSet = false;
97
98 Aws::String m_serviceCode;
99 bool m_serviceCodeHasBeenSet = false;
100
101 Aws::String m_language;
102 bool m_languageHasBeenSet = false;
103
104 Aws::String m_categoryCode;
105 bool m_categoryCodeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Support
110} // namespace Aws
DescribeCreateCaseOptionsRequest & WithServiceCode(ServiceCodeT &&value)
DescribeCreateCaseOptionsRequest & WithLanguage(LanguageT &&value)
DescribeCreateCaseOptionsRequest & WithCategoryCode(CategoryCodeT &&value)
DescribeCreateCaseOptionsRequest & WithIssueType(IssueTypeT &&value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SUPPORT_API DescribeCreateCaseOptionsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String