7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codecommit/model/Target.h>
13#include <aws/core/utils/UUID.h>
49 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
100 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
108 bool m_titleHasBeenSet =
false;
111 bool m_descriptionHasBeenSet =
false;
114 bool m_targetsHasBeenSet =
false;
117 bool m_clientRequestTokenHasBeenSet =
false;
void SetDescription(const char *value)
CreatePullRequestRequest & WithDescription(const Aws::String &value)
CreatePullRequestRequest & AddTargets(const Target &value)
CreatePullRequestRequest & WithTitle(Aws::String &&value)
void SetTargets(const Aws::Vector< Target > &value)
CreatePullRequestRequest & WithTitle(const Aws::String &value)
AWS_CODECOMMIT_API CreatePullRequestRequest()
CreatePullRequestRequest & WithClientRequestToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetTargets(Aws::Vector< Target > &&value)
bool TitleHasBeenSet() const
void SetDescription(const Aws::String &value)
CreatePullRequestRequest & WithTargets(const Aws::Vector< Target > &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientRequestTokenHasBeenSet() const
CreatePullRequestRequest & WithDescription(const char *value)
void SetClientRequestToken(const char *value)
const Aws::Vector< Target > & GetTargets() const
bool TargetsHasBeenSet() const
void SetDescription(Aws::String &&value)
const Aws::String & GetTitle() const
CreatePullRequestRequest & WithTargets(Aws::Vector< Target > &&value)
void SetClientRequestToken(const Aws::String &value)
CreatePullRequestRequest & WithTitle(const char *value)
void SetClientRequestToken(Aws::String &&value)
void SetTitle(const Aws::String &value)
CreatePullRequestRequest & WithClientRequestToken(Aws::String &&value)
bool DescriptionHasBeenSet() const
CreatePullRequestRequest & WithDescription(Aws::String &&value)
CreatePullRequestRequest & WithClientRequestToken(const char *value)
CreatePullRequestRequest & AddTargets(Target &&value)
const Aws::String & GetClientRequestToken() const
void SetTitle(Aws::String &&value)
void SetTitle(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
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