AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
PutMLConfigurationRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
8#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
9#include <aws/cleanroomsml/model/MLOutputConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRoomsML {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMSML_API PutMLConfigurationRequest() = 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 "PutMLConfiguration"; }
29
30 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
37 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
38 template <typename MembershipIdentifierT = Aws::String>
39 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
40 m_membershipIdentifierHasBeenSet = true;
41 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
42 }
43 template <typename MembershipIdentifierT = Aws::String>
44 PutMLConfigurationRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) {
45 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
46 return *this;
47 }
49
51
55 inline const MLOutputConfiguration& GetDefaultOutputLocation() const { return m_defaultOutputLocation; }
56 inline bool DefaultOutputLocationHasBeenSet() const { return m_defaultOutputLocationHasBeenSet; }
57 template <typename DefaultOutputLocationT = MLOutputConfiguration>
58 void SetDefaultOutputLocation(DefaultOutputLocationT&& value) {
59 m_defaultOutputLocationHasBeenSet = true;
60 m_defaultOutputLocation = std::forward<DefaultOutputLocationT>(value);
61 }
62 template <typename DefaultOutputLocationT = MLOutputConfiguration>
63 PutMLConfigurationRequest& WithDefaultOutputLocation(DefaultOutputLocationT&& value) {
64 SetDefaultOutputLocation(std::forward<DefaultOutputLocationT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_membershipIdentifier;
70
71 MLOutputConfiguration m_defaultOutputLocation;
72 bool m_membershipIdentifierHasBeenSet = false;
73 bool m_defaultOutputLocationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CleanRoomsML
78} // namespace Aws
PutMLConfigurationRequest & WithDefaultOutputLocation(DefaultOutputLocationT &&value)
PutMLConfigurationRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
const MLOutputConfiguration & GetDefaultOutputLocation() const
AWS_CLEANROOMSML_API PutMLConfigurationRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDefaultOutputLocation(DefaultOutputLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String