AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteServiceActionRequest.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.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 ServiceCatalog
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SERVICECATALOG_API DeleteServiceActionRequest();
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 "DeleteServiceAction"; }
32
33 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
34
35 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetId() const{ return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
46 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
47 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
48 inline DeleteServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline DeleteServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline DeleteServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
52
54
58 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
59 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
60 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
61 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
62 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
63 inline DeleteServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
64 inline DeleteServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
65 inline DeleteServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
67
69
74 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
75 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
76 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
77 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
78 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
80 inline DeleteServiceActionRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
81 inline DeleteServiceActionRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 Aws::String m_acceptLanguage;
89 bool m_acceptLanguageHasBeenSet = false;
90
91 Aws::String m_idempotencyToken;
92 bool m_idempotencyTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ServiceCatalog
97} // namespace Aws
DeleteServiceActionRequest & WithId(const char *value)
DeleteServiceActionRequest & WithAcceptLanguage(Aws::String &&value)
DeleteServiceActionRequest & WithIdempotencyToken(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
DeleteServiceActionRequest & WithId(Aws::String &&value)
DeleteServiceActionRequest & WithAcceptLanguage(const char *value)
DeleteServiceActionRequest & WithIdempotencyToken(const Aws::String &value)
DeleteServiceActionRequest & WithAcceptLanguage(const Aws::String &value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteServiceActionRequest & WithId(const Aws::String &value)
DeleteServiceActionRequest & WithIdempotencyToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String