AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTemplateShareRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API DeleteTemplateShareRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteTemplateShare"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetShareId() const{ return m_shareId; }
45 inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; }
46 inline void SetShareId(const Aws::String& value) { m_shareIdHasBeenSet = true; m_shareId = value; }
47 inline void SetShareId(Aws::String&& value) { m_shareIdHasBeenSet = true; m_shareId = std::move(value); }
48 inline void SetShareId(const char* value) { m_shareIdHasBeenSet = true; m_shareId.assign(value); }
49 inline DeleteTemplateShareRequest& WithShareId(const Aws::String& value) { SetShareId(value); return *this;}
50 inline DeleteTemplateShareRequest& WithShareId(Aws::String&& value) { SetShareId(std::move(value)); return *this;}
51 inline DeleteTemplateShareRequest& WithShareId(const char* value) { SetShareId(value); return *this;}
53
55
58 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
59 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
60 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
61 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
62 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
63 inline DeleteTemplateShareRequest& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
64 inline DeleteTemplateShareRequest& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
65 inline DeleteTemplateShareRequest& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
67
69
70 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
71 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
72 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
73 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
74 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
76 inline DeleteTemplateShareRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
77 inline DeleteTemplateShareRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
79 private:
80
81 Aws::String m_shareId;
82 bool m_shareIdHasBeenSet = false;
83
84 Aws::String m_templateArn;
85 bool m_templateArnHasBeenSet = false;
86
87 Aws::String m_clientRequestToken;
88 bool m_clientRequestTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WellArchitected
93} // namespace Aws
DeleteTemplateShareRequest & WithShareId(Aws::String &&value)
DeleteTemplateShareRequest & WithTemplateArn(const char *value)
DeleteTemplateShareRequest & WithTemplateArn(Aws::String &&value)
DeleteTemplateShareRequest & WithShareId(const Aws::String &value)
DeleteTemplateShareRequest & WithShareId(const char *value)
DeleteTemplateShareRequest & WithTemplateArn(const Aws::String &value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteTemplateShareRequest & WithClientRequestToken(const Aws::String &value)
DeleteTemplateShareRequest & WithClientRequestToken(const char *value)
DeleteTemplateShareRequest & WithClientRequestToken(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String