AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateTrialComponentRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
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 "DisassociateTrialComponent"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
42 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
43 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
44 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
45 inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
48 inline DisassociateTrialComponentRequest& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
50
52
55 inline const Aws::String& GetTrialName() const{ return m_trialName; }
56 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
57 inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
58 inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
59 inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
60 inline DisassociateTrialComponentRequest& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
61 inline DisassociateTrialComponentRequest& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
62 inline DisassociateTrialComponentRequest& WithTrialName(const char* value) { SetTrialName(value); return *this;}
64 private:
65
66 Aws::String m_trialComponentName;
67 bool m_trialComponentNameHasBeenSet = false;
68
69 Aws::String m_trialName;
70 bool m_trialNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
DisassociateTrialComponentRequest & WithTrialComponentName(const char *value)
DisassociateTrialComponentRequest & WithTrialComponentName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DisassociateTrialComponentRequest & WithTrialName(const Aws::String &value)
DisassociateTrialComponentRequest & WithTrialComponentName(Aws::String &&value)
DisassociateTrialComponentRequest & WithTrialName(const char *value)
DisassociateTrialComponentRequest & WithTrialName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String