7#include <aws/codecommit/CodeCommitRequest.h>
8#include <aws/codecommit/CodeCommit_EXPORTS.h>
9#include <aws/codecommit/model/Target.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename TitleT = Aws::String>
45 m_titleHasBeenSet =
true;
46 m_title = std::forward<TitleT>(value);
48 template <
typename TitleT = Aws::String>
50 SetTitle(std::forward<TitleT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
82 template <
typename TargetsT = Aws::Vector<Target>>
84 m_targetsHasBeenSet =
true;
85 m_targets = std::forward<TargetsT>(value);
87 template <
typename TargetsT = Aws::Vector<Target>>
92 template <
typename TargetsT = Target>
94 m_targetsHasBeenSet =
true;
95 m_targets.emplace_back(std::forward<TargetsT>(value));
112 template <
typename ClientRequestTokenT = Aws::String>
114 m_clientRequestTokenHasBeenSet =
true;
115 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
117 template <
typename ClientRequestTokenT = Aws::String>
131 bool m_titleHasBeenSet =
false;
132 bool m_descriptionHasBeenSet =
false;
133 bool m_targetsHasBeenSet =
false;
134 bool m_clientRequestTokenHasBeenSet =
true;
AWS_CODECOMMIT_API CreatePullRequestRequest()=default
CreatePullRequestRequest & WithDescription(DescriptionT &&value)
CreatePullRequestRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreatePullRequestRequest & AddTargets(TargetsT &&value)
virtual const char * GetServiceRequestName() const override
bool TitleHasBeenSet() const
CreatePullRequestRequest & WithTitle(TitleT &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientRequestTokenHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
void SetTitle(TitleT &&value)
bool TargetsHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetTitle() const
void SetTargets(TargetsT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
CreatePullRequestRequest & WithTargets(TargetsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientRequestToken() const
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector