AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutMLConfigurationRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/MLOutputConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRoomsML
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLEANROOMSML_API PutMLConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutMLConfiguration"; }
32
33 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
41 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
42 template<typename MembershipIdentifierT = Aws::String>
43 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
44 template<typename MembershipIdentifierT = Aws::String>
45 PutMLConfigurationRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
47
49
53 inline const MLOutputConfiguration& GetDefaultOutputLocation() const { return m_defaultOutputLocation; }
54 inline bool DefaultOutputLocationHasBeenSet() const { return m_defaultOutputLocationHasBeenSet; }
55 template<typename DefaultOutputLocationT = MLOutputConfiguration>
56 void SetDefaultOutputLocation(DefaultOutputLocationT&& value) { m_defaultOutputLocationHasBeenSet = true; m_defaultOutputLocation = std::forward<DefaultOutputLocationT>(value); }
57 template<typename DefaultOutputLocationT = MLOutputConfiguration>
58 PutMLConfigurationRequest& WithDefaultOutputLocation(DefaultOutputLocationT&& value) { SetDefaultOutputLocation(std::forward<DefaultOutputLocationT>(value)); return *this;}
60 private:
61
62 Aws::String m_membershipIdentifier;
63 bool m_membershipIdentifierHasBeenSet = false;
64
65 MLOutputConfiguration m_defaultOutputLocation;
66 bool m_defaultOutputLocationHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace CleanRoomsML
71} // 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