AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BatchGetCommandExecutionsRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeBuild {
16namespace Model {
17
21 public:
22 AWS_CODEBUILD_API BatchGetCommandExecutionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchGetCommandExecutions"; }
29
30 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetSandboxId() const { return m_sandboxId; }
39 inline bool SandboxIdHasBeenSet() const { return m_sandboxIdHasBeenSet; }
40 template <typename SandboxIdT = Aws::String>
41 void SetSandboxId(SandboxIdT&& value) {
42 m_sandboxIdHasBeenSet = true;
43 m_sandboxId = std::forward<SandboxIdT>(value);
44 }
45 template <typename SandboxIdT = Aws::String>
47 SetSandboxId(std::forward<SandboxIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetCommandExecutionIds() const { return m_commandExecutionIds; }
57 inline bool CommandExecutionIdsHasBeenSet() const { return m_commandExecutionIdsHasBeenSet; }
58 template <typename CommandExecutionIdsT = Aws::Vector<Aws::String>>
59 void SetCommandExecutionIds(CommandExecutionIdsT&& value) {
60 m_commandExecutionIdsHasBeenSet = true;
61 m_commandExecutionIds = std::forward<CommandExecutionIdsT>(value);
62 }
63 template <typename CommandExecutionIdsT = Aws::Vector<Aws::String>>
65 SetCommandExecutionIds(std::forward<CommandExecutionIdsT>(value));
66 return *this;
67 }
68 template <typename CommandExecutionIdsT = Aws::String>
70 m_commandExecutionIdsHasBeenSet = true;
71 m_commandExecutionIds.emplace_back(std::forward<CommandExecutionIdsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_sandboxId;
77
78 Aws::Vector<Aws::String> m_commandExecutionIds;
79 bool m_sandboxIdHasBeenSet = false;
80 bool m_commandExecutionIdsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CodeBuild
85} // namespace Aws
BatchGetCommandExecutionsRequest & AddCommandExecutionIds(CommandExecutionIdsT &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
BatchGetCommandExecutionsRequest & WithCommandExecutionIds(CommandExecutionIdsT &&value)
BatchGetCommandExecutionsRequest & WithSandboxId(SandboxIdT &&value)
AWS_CODEBUILD_API BatchGetCommandExecutionsRequest()=default
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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