AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
DeleteGitConnectionRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3Request.h>
8#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
9#include <aws/amplifygen3/model/GitProvider.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AmplifyGen3 {
19namespace Model {
20
24 public:
25 AWS_AMPLIFYGEN3_API DeleteGitConnectionRequest() = 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 "DeleteGitConnection"; }
32
33 AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override;
34
35 AWS_AMPLIFYGEN3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline GitProvider GetProvider() const { return m_provider; }
42 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
43 inline void SetProvider(GitProvider value) {
44 m_providerHasBeenSet = true;
45 m_provider = value;
46 }
48 SetProvider(value);
49 return *this;
50 }
52
54
60 inline const Aws::String& GetOwner() const { return m_owner; }
61 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
62 template <typename OwnerT = Aws::String>
63 void SetOwner(OwnerT&& value) {
64 m_ownerHasBeenSet = true;
65 m_owner = std::forward<OwnerT>(value);
66 }
67 template <typename OwnerT = Aws::String>
69 SetOwner(std::forward<OwnerT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_owner;
77 bool m_providerHasBeenSet = false;
78 bool m_ownerHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AmplifyGen3
83} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteGitConnectionRequest & WithOwner(OwnerT &&value)
AWS_AMPLIFYGEN3_API DeleteGitConnectionRequest()=default
DeleteGitConnectionRequest & WithProvider(GitProvider value)
AWS_AMPLIFYGEN3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String