AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 DeleteServiceActionRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetAcceptLanguage() const { return m_acceptLanguage; }
57 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
58 template<typename AcceptLanguageT = Aws::String>
59 void SetAcceptLanguage(AcceptLanguageT&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::forward<AcceptLanguageT>(value); }
60 template<typename AcceptLanguageT = Aws::String>
61 DeleteServiceActionRequest& WithAcceptLanguage(AcceptLanguageT&& value) { SetAcceptLanguage(std::forward<AcceptLanguageT>(value)); return *this;}
63
65
70 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
71 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
72 template<typename IdempotencyTokenT = Aws::String>
73 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
74 template<typename IdempotencyTokenT = Aws::String>
75 DeleteServiceActionRequest& WithIdempotencyToken(IdempotencyTokenT&& value) { SetIdempotencyToken(std::forward<IdempotencyTokenT>(value)); return *this;}
77 private:
78
79 Aws::String m_id;
80 bool m_idHasBeenSet = false;
81
82 Aws::String m_acceptLanguage;
83 bool m_acceptLanguageHasBeenSet = false;
84
86 bool m_idempotencyTokenHasBeenSet = true;
87 };
88
89} // namespace Model
90} // namespace ServiceCatalog
91} // namespace Aws
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
DeleteServiceActionRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICECATALOG_API DeleteServiceActionRequest()=default
DeleteServiceActionRequest & WithAcceptLanguage(AcceptLanguageT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String