AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryBuildRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CodeBuild
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CODEBUILD_API RetryBuildRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RetryBuild"; }
31
32 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
44 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
45 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
46 inline RetryBuildRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline RetryBuildRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline RetryBuildRequest& WithId(const char* value) { SetId(value); return *this;}
50
52
59 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
60 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
61 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
62 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
63 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
64 inline RetryBuildRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
65 inline RetryBuildRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
66 inline RetryBuildRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
68 private:
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72
73 Aws::String m_idempotencyToken;
74 bool m_idempotencyTokenHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeBuild
79} // namespace Aws
void SetIdempotencyToken(const Aws::String &value)
RetryBuildRequest & WithIdempotencyToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetIdempotencyToken(Aws::String &&value)
RetryBuildRequest & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RetryBuildRequest & WithId(const Aws::String &value)
RetryBuildRequest & WithId(const char *value)
const Aws::String & GetIdempotencyToken() const
RetryBuildRequest & WithIdempotencyToken(Aws::String &&value)
RetryBuildRequest & WithIdempotencyToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String