AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BuildNotDeleted.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeBuild
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEBUILD_API BuildNotDeleted();
36 AWS_CODEBUILD_API BuildNotDeleted(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline BuildNotDeleted& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline BuildNotDeleted& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline BuildNotDeleted& WithId(const char* value) { SetId(value); return *this;}
54
56
60 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
61 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
62 inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
63 inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
64 inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
65 inline BuildNotDeleted& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
66 inline BuildNotDeleted& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
67 inline BuildNotDeleted& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
69 private:
70
71 Aws::String m_id;
72 bool m_idHasBeenSet = false;
73
74 Aws::String m_statusCode;
75 bool m_statusCodeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CodeBuild
80} // namespace Aws
BuildNotDeleted & WithId(const char *value)
BuildNotDeleted & WithId(const Aws::String &value)
void SetStatusCode(const Aws::String &value)
const Aws::String & GetStatusCode() const
void SetId(const Aws::String &value)
BuildNotDeleted & WithStatusCode(const Aws::String &value)
BuildNotDeleted & WithStatusCode(const char *value)
BuildNotDeleted & WithId(Aws::String &&value)
AWS_CODEBUILD_API BuildNotDeleted(Aws::Utils::Json::JsonView jsonValue)
BuildNotDeleted & WithStatusCode(Aws::String &&value)
AWS_CODEBUILD_API BuildNotDeleted & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatusCode(Aws::String &&value)
const Aws::String & GetId() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue