AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTemplateSyncConfigRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/RepositoryProvider.h>
11#include <aws/proton/model/TemplateType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Proton
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateTemplateSyncConfig"; }
33
34 AWS_PROTON_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetBranch() const{ return m_branch; }
44 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
45 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
46 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
47 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
48 inline UpdateTemplateSyncConfigRequest& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
49 inline UpdateTemplateSyncConfigRequest& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
50 inline UpdateTemplateSyncConfigRequest& WithBranch(const char* value) { SetBranch(value); return *this;}
52
54
57 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
58 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
59 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
60 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
61 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
63 inline UpdateTemplateSyncConfigRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
64 inline UpdateTemplateSyncConfigRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
66
68
71 inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; }
72 inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; }
73 inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; }
74 inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); }
78
80
84 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
85 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
86 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
87 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
88 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
89 inline UpdateTemplateSyncConfigRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
90 inline UpdateTemplateSyncConfigRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
91 inline UpdateTemplateSyncConfigRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
93
95
98 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
99 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
100 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
101 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
102 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
104 inline UpdateTemplateSyncConfigRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
105 inline UpdateTemplateSyncConfigRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
107
109
112 inline const TemplateType& GetTemplateType() const{ return m_templateType; }
113 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
114 inline void SetTemplateType(const TemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
115 inline void SetTemplateType(TemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
117 inline UpdateTemplateSyncConfigRequest& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_branch;
122 bool m_branchHasBeenSet = false;
123
124 Aws::String m_repositoryName;
125 bool m_repositoryNameHasBeenSet = false;
126
127 RepositoryProvider m_repositoryProvider;
128 bool m_repositoryProviderHasBeenSet = false;
129
130 Aws::String m_subdirectory;
131 bool m_subdirectoryHasBeenSet = false;
132
133 Aws::String m_templateName;
134 bool m_templateNameHasBeenSet = false;
135
136 TemplateType m_templateType;
137 bool m_templateTypeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Proton
142} // namespace Aws
UpdateTemplateSyncConfigRequest & WithSubdirectory(Aws::String &&value)
UpdateTemplateSyncConfigRequest & WithBranch(const char *value)
UpdateTemplateSyncConfigRequest & WithTemplateType(TemplateType &&value)
UpdateTemplateSyncConfigRequest & WithRepositoryProvider(const RepositoryProvider &value)
UpdateTemplateSyncConfigRequest & WithSubdirectory(const char *value)
UpdateTemplateSyncConfigRequest & WithTemplateName(const char *value)
UpdateTemplateSyncConfigRequest & WithRepositoryProvider(RepositoryProvider &&value)
UpdateTemplateSyncConfigRequest & WithRepositoryName(const char *value)
UpdateTemplateSyncConfigRequest & WithTemplateType(const TemplateType &value)
UpdateTemplateSyncConfigRequest & WithSubdirectory(const Aws::String &value)
UpdateTemplateSyncConfigRequest & WithBranch(const Aws::String &value)
AWS_PROTON_API Aws::String SerializePayload() const override
UpdateTemplateSyncConfigRequest & WithRepositoryName(Aws::String &&value)
UpdateTemplateSyncConfigRequest & WithBranch(Aws::String &&value)
UpdateTemplateSyncConfigRequest & WithRepositoryName(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTemplateSyncConfigRequest & WithTemplateName(Aws::String &&value)
UpdateTemplateSyncConfigRequest & WithTemplateName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String