AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateRepositoryLinkRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
8#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodeStarconnections {
15namespace Model {
16
20 public:
21 AWS_CODESTARCONNECTIONS_API UpdateRepositoryLinkRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateRepositoryLink"; }
28
29 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
30
31 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
40 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
41 template <typename ConnectionArnT = Aws::String>
42 void SetConnectionArn(ConnectionArnT&& value) {
43 m_connectionArnHasBeenSet = true;
44 m_connectionArn = std::forward<ConnectionArnT>(value);
45 }
46 template <typename ConnectionArnT = Aws::String>
48 SetConnectionArn(std::forward<ConnectionArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
59 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
60 template <typename EncryptionKeyArnT = Aws::String>
61 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
62 m_encryptionKeyArnHasBeenSet = true;
63 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
64 }
65 template <typename EncryptionKeyArnT = Aws::String>
67 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRepositoryLinkId() const { return m_repositoryLinkId; }
77 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
78 template <typename RepositoryLinkIdT = Aws::String>
79 void SetRepositoryLinkId(RepositoryLinkIdT&& value) {
80 m_repositoryLinkIdHasBeenSet = true;
81 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
82 }
83 template <typename RepositoryLinkIdT = Aws::String>
85 SetRepositoryLinkId(std::forward<RepositoryLinkIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_connectionArn;
91
92 Aws::String m_encryptionKeyArn;
93
94 Aws::String m_repositoryLinkId;
95 bool m_connectionArnHasBeenSet = false;
96 bool m_encryptionKeyArnHasBeenSet = false;
97 bool m_repositoryLinkIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace CodeStarconnections
102} // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String