AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetSchemaAnalysisRuleRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/AnalysisRuleType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API GetSchemaAnalysisRuleRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetSchemaAnalysisRule"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
38 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
39 template <typename CollaborationIdentifierT = Aws::String>
40 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) {
41 m_collaborationIdentifierHasBeenSet = true;
42 m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value);
43 }
44 template <typename CollaborationIdentifierT = Aws::String>
45 GetSchemaAnalysisRuleRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) {
46 SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
75 inline AnalysisRuleType GetType() const { return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(AnalysisRuleType value) {
78 m_typeHasBeenSet = true;
79 m_type = value;
80 }
82 SetType(value);
83 return *this;
84 }
86 private:
87 Aws::String m_collaborationIdentifier;
88
89 Aws::String m_name;
90
92 bool m_collaborationIdentifierHasBeenSet = false;
93 bool m_nameHasBeenSet = false;
94 bool m_typeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace CleanRooms
99} // namespace Aws
AWS_CLEANROOMS_API GetSchemaAnalysisRuleRequest()=default
GetSchemaAnalysisRuleRequest & WithCollaborationIdentifier(CollaborationIdentifierT &&value)
GetSchemaAnalysisRuleRequest & WithName(NameT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
void SetCollaborationIdentifier(CollaborationIdentifierT &&value)
GetSchemaAnalysisRuleRequest & WithType(AnalysisRuleType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String