AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelImageCreationRequest.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace imagebuilder
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IMAGEBUILDER_API CancelImageCreationRequest();
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 "CancelImageCreation"; }
32
33 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
42 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
43 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = value; }
44 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::move(value); }
45 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn.assign(value); }
48 inline CancelImageCreationRequest& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
50
52
58 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
59 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
60 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
61 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
62 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
63 inline CancelImageCreationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
64 inline CancelImageCreationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
65 inline CancelImageCreationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
67 private:
68
69 Aws::String m_imageBuildVersionArn;
70 bool m_imageBuildVersionArnHasBeenSet = false;
71
72 Aws::String m_clientToken;
73 bool m_clientTokenHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace imagebuilder
78} // namespace Aws
CancelImageCreationRequest & WithImageBuildVersionArn(const Aws::String &value)
CancelImageCreationRequest & WithClientToken(const Aws::String &value)
CancelImageCreationRequest & WithClientToken(const char *value)
CancelImageCreationRequest & WithClientToken(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
CancelImageCreationRequest & WithImageBuildVersionArn(Aws::String &&value)
CancelImageCreationRequest & WithImageBuildVersionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String