AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateModelCardRequest.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 <aws/sagemaker/model/ModelCardStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateModelCardRequest();
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 "UpdateModelCard"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetModelCardName() const{ return m_modelCardName; }
43 inline bool ModelCardNameHasBeenSet() const { return m_modelCardNameHasBeenSet; }
44 inline void SetModelCardName(const Aws::String& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = value; }
45 inline void SetModelCardName(Aws::String&& value) { m_modelCardNameHasBeenSet = true; m_modelCardName = std::move(value); }
46 inline void SetModelCardName(const char* value) { m_modelCardNameHasBeenSet = true; m_modelCardName.assign(value); }
47 inline UpdateModelCardRequest& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;}
48 inline UpdateModelCardRequest& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;}
49 inline UpdateModelCardRequest& WithModelCardName(const char* value) { SetModelCardName(value); return *this;}
51
53
59 inline const Aws::String& GetContent() const{ return m_content; }
60 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
61 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
62 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
63 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
64 inline UpdateModelCardRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
65 inline UpdateModelCardRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
66 inline UpdateModelCardRequest& WithContent(const char* value) { SetContent(value); return *this;}
68
70
80 inline const ModelCardStatus& GetModelCardStatus() const{ return m_modelCardStatus; }
81 inline bool ModelCardStatusHasBeenSet() const { return m_modelCardStatusHasBeenSet; }
82 inline void SetModelCardStatus(const ModelCardStatus& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = value; }
83 inline void SetModelCardStatus(ModelCardStatus&& value) { m_modelCardStatusHasBeenSet = true; m_modelCardStatus = std::move(value); }
85 inline UpdateModelCardRequest& WithModelCardStatus(ModelCardStatus&& value) { SetModelCardStatus(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_modelCardName;
90 bool m_modelCardNameHasBeenSet = false;
91
92 Aws::String m_content;
93 bool m_contentHasBeenSet = false;
94
95 ModelCardStatus m_modelCardStatus;
96 bool m_modelCardStatusHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
UpdateModelCardRequest & WithContent(const char *value)
UpdateModelCardRequest & WithContent(const Aws::String &value)
UpdateModelCardRequest & WithModelCardName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateModelCardRequest & WithModelCardName(Aws::String &&value)
UpdateModelCardRequest & WithModelCardName(const char *value)
void SetModelCardStatus(const ModelCardStatus &value)
UpdateModelCardRequest & WithModelCardStatus(ModelCardStatus &&value)
UpdateModelCardRequest & WithContent(Aws::String &&value)
UpdateModelCardRequest & WithModelCardStatus(const ModelCardStatus &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String